membersystem/docker-compose.yml
Víðir Valberg Guðmundsson 88e15974dc
All checks were successful
continuous-integration/drone/push Build is passing
Fixing some stuff with README
2023-10-02 20:10:24 +02:00

31 lines
488 B
YAML

version: '3.7'
services:
backend:
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/
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: