From 350234d3798416fb92a5dcae8f13d30f030d7bd9 Mon Sep 17 00:00:00 2001 From: ypratama Date: Tue, 1 Sep 2026 09:17:03 +0700 Subject: [PATCH] Fix: Re-add NETIFY to BACKONE variable mapping in compose file so Portainer pulls work with old images --- docker-compose.prod.yml | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 4d59245..d216b7c 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -20,14 +20,14 @@ services: - NODE_ENV=production - MONGODB_URI=${MONGODB_URI} - BACKEND_PORT=${BACKEND_PORT:-3001} - - JWT_SECRET=${JWT_SECRET} + - JWT_SECRET=${JWT_SECRET:-super-secret-backone-key} - ALLOWED_ORIGINS=${ALLOWED_ORIGINS} - - BACKONE_DPI_API_KEY=${BACKONE_DPI_API_KEY} - - BACKONE_API_KEY=${BACKONE_API_KEY} - - BACKONE_ORG_UUID=${BACKONE_ORG_UUID} - - BACKONE_SITE_UUID=${BACKONE_SITE_UUID} - - BACKONE_SITE_UUIDS=${BACKONE_SITE_UUIDS} - - BACKONE_INFORMATICS_BASE_URL=${BACKONE_INFORMATICS_BASE_URL} + - BACKONE_DPI_API_KEY=${NETIFY_API_KEY} + - BACKONE_API_KEY=${NETIFY_API_KEY:-sk_db_source2} + - BACKONE_ORG_UUID=${NETIFY_ORG_UUID} + - BACKONE_SITE_UUID=${NETIFY_SITE_UUID} + - BACKONE_SITE_UUIDS=${NETIFY_SITE_UUIDS} + - BACKONE_INFORMATICS_BASE_URL=${NETIFY_INFORMATICS_BASE_URL} frontend: image: git.proit.id/ypratama/deep-package-inspection/backone-frontend:v2 @@ -38,12 +38,14 @@ services: environment: - NODE_ENV=production - NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL} - - INTERNAL_API_URL=${INTERNAL_API_URL:-http://backend:3001} - - JWT_SECRET=${JWT_SECRET} + - INTERNAL_API_URL=${INTERNAL_API_URL:-http://backone-inspect-backend-bun-0:3001} + - JWT_SECRET=${JWT_SECRET:-super-secret-backone-key} - MONGODB_URI=${MONGODB_URI} - - BACKONE_API_KEY=${BACKONE_API_KEY} - - BACKONE_DPI_API_KEY=${BACKONE_DPI_API_KEY} - - BACKONE_SITE_UUID=${BACKONE_SITE_UUID} - - BACKONE_INFORMATICS_BASE_URL=${BACKONE_INFORMATICS_BASE_URL} + - BACKONE_API_KEY=${NETIFY_API_KEY:-sk_db_source2} + - BACKONE_DPI_API_KEY=${NETIFY_API_KEY} + - BACKONE_SITE_UUID=${NETIFY_SITE_UUID} + - BACKONE_SITE_UUIDS=${NETIFY_SITE_UUIDS} + - BACKONE_INFORMATICS_BASE_URL=${NETIFY_INFORMATICS_BASE_URL} + - BACKONE_TOKEN=${NETIFY_TOKEN} depends_on: - backend