Files
max/.devcontainer/compose.yml
T
2026-10-21 06:25:18 +00:00

30 lines
627 B
YAML

services:
dev:
build:
context: .
dockerfile: Dockerfile
command: sleep infinity
volumes:
- ..:/workspaces/max:cached
- home:/home/dev
environment:
- PYTHONPATH=/workspaces/max
- FLASK_APP=max.app
- FLASK_ENV=development
- PGSQL_HOST=postgresql
- PGSQL_PORT=5432
- PGSQL_USER=max
- PGSQL_PASSWORD=max
- PGSQL_NAME=max
depends_on:
- postgresql
postgresql:
image: postgres:18.6
environment:
- POSTGRES_USER=max
- POSTGRES_PASSWORD=max
- POSTGRES_DB=max
volumes:
home:
name: max-devcontainer-home