Stufe 0: Grundgerüst mit Rechenkern, Datenbank, Oberfläche und Docker-Betrieb
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AmyPfuNc4sCRfaF3oURXZz
This commit is contained in:
18
.devcontainer/docker-compose.yml
Normal file
18
.devcontainer/docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
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
|
||||
Reference in New Issue
Block a user