Aktueller Stand

This commit is contained in:
2026-01-23 01:33:35 +01:00
parent 082dc5e110
commit 2766dd12c5
10109 changed files with 1578841 additions and 77685 deletions

View File

@@ -38,7 +38,12 @@ services:
depends_on:
- postgres
- redis
command: ["sh", "-c", "if [ \"${AUTO_MIGRATE:-false}\" = \"true\" ]; then npx prisma migrate deploy; fi; npm run prisma:generate && npm run dev"]
command:
[
"sh",
"-c",
"node -e \"require.resolve('tsx')\" 2>/dev/null || npm install --no-audit --no-fund --include=dev; node -e \"require.resolve('@prisma/adapter-pg')\" 2>/dev/null || npm install --no-audit --no-fund --include=dev; node -e \"const v=require('prisma/package.json').version;process.exit(v.startsWith('7.')?0:1)\" 2>/dev/null || npm install --no-audit --no-fund --include=dev; if [ \"${AUTO_MIGRATE:-false}\" = \"true\" ]; then npx prisma migrate deploy; fi; npm run prisma:generate && npm run dev"
]
ports:
- "${BIND_IP:-127.0.0.1}:${API_PORT:-8000}:${API_PORT:-8000}"
volumes:
@@ -72,7 +77,12 @@ services:
depends_on:
- postgres
- redis
command: ["sh", "-c", "npm run prisma:generate && npm run worker:dev"]
command:
[
"sh",
"-c",
"node -e \"require.resolve('tsx')\" 2>/dev/null || npm install --no-audit --no-fund --include=dev; node -e \"require.resolve('@prisma/adapter-pg')\" 2>/dev/null || npm install --no-audit --no-fund --include=dev; node -e \"const v=require('prisma/package.json').version;process.exit(v.startsWith('7.')?0:1)\" 2>/dev/null || npm install --no-audit --no-fund --include=dev; npm run prisma:generate && npm run worker:dev"
]
volumes:
- ./backend:/app
- worker_node_modules:/app/node_modules