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

19 lines
361 B
YAML
Raw Normal View History

version: "2"
2016-09-29 20:20:10 +00:00
services:
db:
2017-02-15 03:01:47 +00:00
build: postgres-hstore
2017-10-22 21:51:22 +00:00
restart: always
volumes:
- /var/spejstore-data:/var/lib/postgresql/data
2016-09-29 20:20:10 +00:00
web:
build: .
2017-10-22 21:51:22 +00:00
restart: always
command: 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