membersystem/docker-compose.yml

31 lines
486 B
YAML
Raw Normal View History

version: '3.7'
services:
backend:
2021-12-13 19:44:09 +00:00
image: data_coop_membersystem:dev
build:
context: .
command: python /app/src/manage.py runserver 0.0.0.0:8000
tty: true
ports:
- "8000:8000"
volumes:
- ./:/app/
2021-12-13 19:44:09 +00:00
depends_on:
- postgres
env_file:
- env
postgres:
image: postgres:13-alpine
volumes:
- postgres_data:/var/lib/postgresql/data/
ports:
- 5432:5432
env_file:
- env
volumes:
postgres_data: