spejstore-new/docker-compose.yml

23 lines
426 B
YAML
Raw Normal View History

2018-10-10 17:56:43 +00:00
version: "2.3"
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
2018-10-10 17:56:43 +00:00
env_file:
- spejstore-dev.env
- spejstore.env