Fix: Map NETIFY prefix variables to BACKONE internal variables

This commit is contained in:
ypratama committed 2026-08-28 16:31:40 +07:00
1 parent eedaa588b5
commit 6a10aaa5ad
1 file changed
+11 -10
+11 -10
View File
@@ -22,12 +22,12 @@ services:
- BACKEND_PORT=${BACKEND_PORT:-3001} - BACKEND_PORT=${BACKEND_PORT:-3001}
- JWT_SECRET=${JWT_SECRET} - JWT_SECRET=${JWT_SECRET}
- ALLOWED_ORIGINS=${ALLOWED_ORIGINS} - ALLOWED_ORIGINS=${ALLOWED_ORIGINS}
- BACKONE_DPI_API_KEY=${BACKONE_DPI_API_KEY} - BACKONE_DPI_API_KEY=${NETIFY_API_KEY}
- BACKONE_API_KEY=${BACKONE_API_KEY} - BACKONE_API_KEY=${NETIFY_API_KEY:-sk_db_source2}
- BACKONE_ORG_UUID=${BACKONE_ORG_UUID} - BACKONE_ORG_UUID=${NETIFY_ORG_UUID}
- BACKONE_SITE_UUID=${BACKONE_SITE_UUID} - BACKONE_SITE_UUID=${NETIFY_SITE_UUID}
- BACKONE_SITE_UUIDS=${BACKONE_SITE_UUIDS} - BACKONE_SITE_UUIDS=${NETIFY_SITE_UUIDS}
- BACKONE_INFORMATICS_BASE_URL=${BACKONE_INFORMATICS_BASE_URL} - BACKONE_INFORMATICS_BASE_URL=${NETIFY_INFORMATICS_BASE_URL}
frontend: frontend:
image: git.proit.id/ypratama/deep-package-inspection/backone-frontend:v2 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} - INTERNAL_API_URL=${INTERNAL_API_URL:-http://backend:3001}
- JWT_SECRET=${JWT_SECRET} - JWT_SECRET=${JWT_SECRET}
- MONGODB_URI=${MONGODB_URI} - MONGODB_URI=${MONGODB_URI}
- BACKONE_API_KEY=${BACKONE_API_KEY} - BACKONE_API_KEY=${NETIFY_API_KEY:-sk_db_source2}
- BACKONE_DPI_API_KEY=${BACKONE_DPI_API_KEY} - BACKONE_DPI_API_KEY=${NETIFY_API_KEY}
- BACKONE_SITE_UUID=${BACKONE_SITE_UUID} - BACKONE_SITE_UUIDS=${NETIFY_SITE_UUIDS}
- BACKONE_INFORMATICS_BASE_URL=${BACKONE_INFORMATICS_BASE_URL} - BACKONE_INFORMATICS_BASE_URL=${NETIFY_INFORMATICS_BASE_URL}
- BACKONE_TOKEN=${NETIFY_TOKEN}
depends_on: depends_on:
- backend - backend