2024-07-24 20:29:07 +00:00
|
|
|
---
|
2021-02-27 20:07:48 +00:00
|
|
|
services:
|
2024-07-14 21:14:07 +00:00
|
|
|
app:
|
2021-02-27 20:07:48 +00:00
|
|
|
build:
|
|
|
|
context: .
|
2024-07-14 21:14:07 +00:00
|
|
|
args:
|
|
|
|
- REQUIREMENTS_FILE=requirements/requirements-dev.txt
|
2021-02-27 20:07:48 +00:00
|
|
|
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:
|
2024-07-24 20:29:07 +00:00
|
|
|
- postgres
|
2021-02-27 20:07:48 +00:00
|
|
|
env_file:
|
2023-10-02 18:10:24 +00:00
|
|
|
- .env
|
2021-02-27 20:07:48 +00:00
|
|
|
|
|
|
|
postgres:
|
|
|
|
image: postgres:13-alpine
|
|
|
|
volumes:
|
|
|
|
- postgres_data:/var/lib/postgresql/data/
|
|
|
|
ports:
|
|
|
|
- 5432:5432
|
|
|
|
env_file:
|
2023-10-02 18:10:24 +00:00
|
|
|
- .env
|
2021-02-27 20:07:48 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
postgres_data:
|
2024-07-14 21:14:07 +00:00
|
|
|
...
|