Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AmyPfuNc4sCRfaF3oURXZz
19 lines
553 B
YAML
19 lines
553 B
YAML
services:
|
|
dev:
|
|
image: mcr.microsoft.com/devcontainers/typescript-node:22
|
|
command: sleep infinity
|
|
volumes:
|
|
- ..:/workspace:cached
|
|
environment:
|
|
DATABASE_URL: postgres://betrieb:betrieb@db:5432/betrieb
|
|
TEST_DATABASE_URL: postgres://betrieb:betrieb@db:5432/betrieb_test
|
|
depends_on: [db]
|
|
db:
|
|
image: postgres:16-alpine
|
|
environment:
|
|
POSTGRES_USER: betrieb
|
|
POSTGRES_PASSWORD: betrieb
|
|
POSTGRES_DB: betrieb
|
|
volumes:
|
|
- ./init-test-db.sql:/docker-entrypoint-initdb.d/init-test-db.sql:ro
|