services: db: image: postgis/postgis:17-3.5 platform: linux/amd64 environment: POSTGRES_DB: wingz POSTGRES_USER: wingz POSTGRES_PASSWORD: wingz ports: ["5432:5432"] volumes: ["db-data:/var/lib/postgresql/data"] healthcheck: test: ["CMD-SHELL", "pg_isready -U wingz -d wingz"] interval: 3s timeout: 3s retries: 20 web: build: . command: uv run manage.py runserver 0.0.0.0:8000 volumes: - .:/app - /app/.venv ports: ["8000:8000"] env_file: .env depends_on: db: condition: service_healthy volumes: db-data: