Sync deploy: backend, frontend, worker, docker, config
This commit is contained in:
@@ -50,7 +50,7 @@ services:
|
||||
image: redis:7-alpine
|
||||
container_name: toolsplatform-redis
|
||||
restart: unless-stopped
|
||||
command: redis-server --appendonly yes --maxmemory 400mb --maxmemory-policy allkeys-lru
|
||||
command: redis-server --appendonly yes --maxmemory 400mb --maxmemory-policy noeviction
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
networks:
|
||||
@@ -257,12 +257,12 @@ services:
|
||||
dockerfile: Dockerfile.prod
|
||||
container_name: toolsplatform-api-gateway
|
||||
restart: unless-stopped
|
||||
# Do not depend on prisma-init success so deploy succeeds even if seed fails; run seed manually once if needed (see COOLIFY-SETUP.md §6.1).
|
||||
depends_on:
|
||||
postgres: { condition: service_started }
|
||||
redis: { condition: service_started }
|
||||
minio: { condition: service_started }
|
||||
keycloak: { condition: service_started }
|
||||
prisma-init: { condition: service_completed_successfully }
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
|
||||
@@ -65,8 +65,9 @@ ADMIN_ROLE=platform-admin
|
||||
ADMIN_DASHBOARD_ENABLED=true
|
||||
FRONTEND_BASE_URL=https://app.getlinkzen.com
|
||||
FRONTEND_PORT=3000
|
||||
# Frontend uses NEXT_PUBLIC_API_BASE_URL in browser (lib/api.ts, config/constants.ts)
|
||||
# API at https://app.getlinkzen.com/api (nginx proxies /api to backend)
|
||||
# Frontend uses NEXT_PUBLIC_API_BASE_URL in browser (lib/api.ts, config/constants.ts).
|
||||
# MUST be the public domain (same origin). Traefik routes /api to the API.
|
||||
# Do NOT set to http://SERVER_IP:4000 or API will receive wrong paths (POST /app, /api/route) and return 404.
|
||||
NEXT_PUBLIC_API_BASE_URL=https://app.getlinkzen.com
|
||||
NEXT_PUBLIC_API_URL=https://app.getlinkzen.com
|
||||
NEXT_PUBLIC_KEYCLOAK_URL=https://auth.getlinkzen.com
|
||||
|
||||
Reference in New Issue
Block a user