solar/docker-compose.yml
Jedrzej Nowak 4060b36fed Moved examples, resources and templates
new location is https://github.com/Mirantis/solar-resources,
later will be changed to openstack one.
- vagrant stuff assumes that solar-resources is cloned into /vagrant/solar-resources
- adjusted docker compose file
- added solar-resources to .gitignore

Change-Id: If2fea99145395606e6c15c9adbc127ecff4823f9
2016-01-13 13:33:02 +01:00

35 lines
938 B
YAML

solar-celery:
image: solarproject/solar-celery
# path inside of the container should be exactly the same as outside
# because solar uses absolute path to find resoruce actions files
volumes:
- /vagrant/.vagrant:/vagrant/.vagrant
- /vagrant:/solar
- /vagrant/solar-resources:/vagrant/solar-resources
- /root/.ssh:/root/.ssh
- ./bootstrap/playbooks/celery.yaml:/celery.yaml
- /var/lib/solar/repositories:/var/lib/solar/repositories
- /.solar_config_override:/.solar_config_override
# links are not used for configuration because we can rely on non-container
# based datastores
links:
- riak
- redis
# for torrent protocol
ports:
- 6881-6981:6881-6981
riak:
image: solarproject/riak
volumes:
- ./utils/riak/app.config:/etc/riak/app.config
ports:
- 8087:8087
- 8098:8098
redis:
image: tutum/redis
ports:
- 6379:6379
environment:
- REDIS_PASS=**None**