spejstore-new/docker-compose.yml

15 lines
272 B
YAML
Raw Normal View History

2016-09-29 20:20:10 +00:00
version: '2'
services:
db:
image: aidanlister/postgres-hstore
web:
build: .
command: /bin/bash -c "python manage.py migrate && python manage.py runserver 0.0.0.0:8000"
volumes:
- .:/code
ports:
- "8000:8000"
depends_on:
- db