cabot/docker-compose.yml
David Buxton 27f65a2eba Docker-compose setup
- Externalise requirements to pip format
- Add entry-point script
- Update Travis-CI configuration
- Fix test data
2016-09-20 10:33:22 +01:00

33 lines
538 B
YAML

version: '2'
services:
web:
env_file:
- conf/development.env
build: .
image: cabot:web
command: python manage.py runserver 0.0.0.0:5001
ports:
- "5001:5001"
volumes:
- .:/code
links:
- redis
- db
worker:
env_file:
- conf/development.env
image: cabot:web
command: python manage.py celery worker -B -A cabot --loglevel=DEBUG --concurrency=16 -Ofair
volumes:
- .:/code
links:
- redis
- db
redis:
image: redis
db:
image: postgres