1
0
Fork 0
spejstore-new/docker-compose.yml

15 lines
278 B
YAML
Raw Normal View History

2017-05-09 23:22:56 +00:00
version: "3"
2016-09-29 20:20:10 +00:00
services:
db:
2017-02-15 03:01:47 +00:00
build: postgres-hstore
2016-09-29 20:20:10 +00:00
web:
build: .
2017-05-09 23:22:56 +00:00
command: wait-for-it db:5432 -- bash -c "python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
2016-09-29 20:20:10 +00:00
volumes:
- .:/code
ports:
- "8000:8000"
depends_on:
- db