bookwyrm/docker-compose.yml

20 lines
360 B
YAML
Raw Normal View History

2020-03-22 18:21:19 +00:00
version: '3'
services:
db:
image: postgres
env_file: .env
volumes:
- pgdata:/var/lib/posgresql/data
web:
build: .
command: python manage.py runserver 0.0.0.0:8000
volumes:
- .:/code
ports:
- "8000:8000"
depends_on:
- db
volumes:
pgdata: