From 6a10aaa5adadbf3e71daf5fc4441ce0cca4f1401 Mon Sep 17 00:00:00 2001 From: ypratama Date: Fri, 28 Aug 2026 16:31:40 +0700 Subject: [PATCH] Fix: Map NETIFY prefix variables to BACKONE internal variables --- docker-compose.prod.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index 4d59245..34f778b 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -22,12 +22,12 @@ services: - BACKEND_PORT=${BACKEND_PORT:-3001} - JWT_SECRET=${JWT_SECRET} - 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 @@ -41,9 +41,10 @@ services: - INTERNAL_API_URL=${INTERNAL_API_URL:-http://backend:3001} - JWT_SECRET=${JWT_SECRET} - 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_UUIDS=${NETIFY_SITE_UUIDS} + - BACKONE_INFORMATICS_BASE_URL=${NETIFY_INFORMATICS_BASE_URL} + - BACKONE_TOKEN=${NETIFY_TOKEN} depends_on: - backend