membersystem/docker-compose.yml

31 lines
482 B
YAML
Raw Normal View History

2024-07-14 23:14:07 +02:00
---
services:
2024-07-14 23:14:07 +02:00
app:
build:
context: .
2024-07-14 23:14:07 +02:00
args:
2024-12-26 00:03:26 +01:00
- DJANGO_ENV=development
command: python /app/src/manage.py runserver 0.0.0.0:8000
tty: true
ports:
- "8000:8000"
volumes:
- ./:/app/
2021-12-13 20:44:09 +01:00
depends_on:
- postgres
env_file:
2023-10-02 20:10:24 +02:00
- .env
postgres:
image: postgres:13-alpine
volumes:
- postgres_data:/var/lib/postgresql/data/
ports:
- 5432:5432
env_file:
2023-10-02 20:10:24 +02:00
- .env
volumes:
postgres_data:
2024-07-14 23:14:07 +02:00
...