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:
|
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
|
||||||
|
|
Loading…
Reference in a new issue