solar/docker-compose.yml
Jędrzej Nowak 7d12e56d40 Merge pull request #397 from dshulyak/multi_transports
rsync + raw_ssh by default
2015-12-11 10:06:55 +01:00

37 lines
932 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/templates:/vagrant/templates
- /vagrant/resources:/vagrant/resources
- /vagrant/library:/vagrant/library
- ~/.ssh:/root/.ssh
- ./bootstrap/playbooks/celery.yaml:/celery.yaml
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
- RIAK_HOST=riak
- RIAK_PORT=8087
# links are not used for configuration because we can rely on non-container
# based datastores
links:
- riak
- redis
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**