Docker-compose

This commit is contained in:
Oleg Lavrovsky 2017-03-28 11:57:18 +02:00
parent 57665e3dd8
commit 67f1707cfe

View file

@ -1,14 +1,14 @@
web: web:
build: . build: .
dockerfile: .dockerfile dockerfile: .dockerfile
command: python manage.py runserver 0.0.0.0:80 command: python manage.py runserver 0.0.0.0:5000
volumes: volumes:
- ./:/usr/src/app - ./:/usr/src/app
links: links:
- postgres - postgres
- elasticsearch - elasticsearch
ports: ports:
- "80:80" - "5000:5000"
environment: environment:
- DEBUG=True - DEBUG=True
- DEV=True - DEV=True