drop-server-bak/.devcontainer/docker-compose.yml
NicoVIII 2448892c73
Some checks failed
CI / Lint (push) Failing after 3h10m19s
CI / Typecheck (push) Failing after 3h14m27s
[Proposal] Add devcontainer (#376)
* Add devcontainer

* Fix linting
2026-03-30 19:17:21 +11:00

26 lines
543 B
YAML

services:
app:
image: mcr.microsoft.com/devcontainers/base:noble
command: sleep infinity
volumes:
- ..:/workspaces/drop:cached
depends_on:
db:
condition: service_healthy
db:
image: postgres:14-alpine
environment:
POSTGRES_USER: drop
POSTGRES_PASSWORD: drop
POSTGRES_DB: drop
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U drop -d drop"]
interval: 5s
timeout: 5s
retries: 20
volumes:
pgdata: