Docker-compose
This commit is contained in:
parent
57665e3dd8
commit
67f1707cfe
1 changed files with 2 additions and 2 deletions
|
@ -1,14 +1,14 @@
|
|||
web:
|
||||
build: .
|
||||
dockerfile: .dockerfile
|
||||
command: python manage.py runserver 0.0.0.0:80
|
||||
command: python manage.py runserver 0.0.0.0:5000
|
||||
volumes:
|
||||
- ./:/usr/src/app
|
||||
links:
|
||||
- postgres
|
||||
- elasticsearch
|
||||
ports:
|
||||
- "80:80"
|
||||
- "5000:5000"
|
||||
environment:
|
||||
- DEBUG=True
|
||||
- DEV=True
|
||||
|
|
Loading…
Reference in a new issue