fix(deploy): add env vars to docker-compose, prisma generate in Dockerfile, move @prisma/client to deps

This commit is contained in:
AI Assistant
2026-02-27 10:43:32 +02:00
parent 0ad7e835bd
commit ccba14a05e
8 changed files with 58 additions and 42 deletions
+23 -13
View File
@@ -8,7 +8,7 @@
NEXT_PUBLIC_APP_NAME=ArchiTools
NEXT_PUBLIC_APP_URL=http://localhost:3000
# Storage adapter: 'localStorage' (default) | 'api' | 'minio'
# Storage adapter: 'localStorage' (default) | 'database'
NEXT_PUBLIC_STORAGE_ADAPTER=localStorage
# Feature flag overrides (set to 'true' or 'false')
@@ -25,21 +25,31 @@ NEXT_PUBLIC_STORAGE_ADAPTER=localStorage
# NEXT_PUBLIC_FLAG_MODULE_MINI_UTILITIES=false
# NEXT_PUBLIC_FLAG_MODULE_AI_CHAT=false
# Future: API storage backend
# STORAGE_API_URL=http://api.internal/storage
# =============================================================================
# PostgreSQL Database (required when STORAGE_ADAPTER=database)
# =============================================================================
DATABASE_URL=postgresql://USER:PASSWORD@10.10.10.166:5432/architools_db?schema=public
# Future: MinIO object storage
# MINIO_ENDPOINT=10.10.10.166:9003
# MINIO_ACCESS_KEY=
# MINIO_SECRET_KEY=
# MINIO_BUCKET=architools
# =============================================================================
# MinIO Object Storage
# =============================================================================
MINIO_ENDPOINT=10.10.10.166
MINIO_PORT=9002
MINIO_USE_SSL=false
MINIO_ACCESS_KEY=admin
MINIO_SECRET_KEY=your-minio-secret
MINIO_BUCKET_NAME=tools
# Future: Authentik SSO
# AUTHENTIK_URL=http://10.10.10.166:9100
# AUTHENTIK_CLIENT_ID=
# AUTHENTIK_CLIENT_SECRET=
# =============================================================================
# Authentication (Authentik OIDC)
# =============================================================================
NEXTAUTH_URL=https://tools.beletage.ro
NEXTAUTH_SECRET=generate-with-openssl-rand-base64-32
AUTHENTIK_CLIENT_ID=your-authentik-client-id
AUTHENTIK_CLIENT_SECRET=your-authentik-client-secret
AUTHENTIK_ISSUER=https://auth.beletage.ro/application/o/architools/
# Future: N8N automation
# N8N automation (future)
# N8N_WEBHOOK_URL=http://10.10.10.166:5678/webhook
# External tool URLs (displayed in dashboard)