Sync deploy: backend, frontend, worker, docker, config

This commit is contained in:
Azouhri Abdelaziz
2026-02-04 20:43:53 +01:00
parent d73f1fd74a
commit 90b04ec61c
2 changed files with 5 additions and 4 deletions

View File

@@ -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:

View File

@@ -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