Browse Source

fix: compose.yaml config error

delong.wang 1 year ago
parent
commit
574e600974
1 changed files with 4 additions and 1 deletions
  1. 4 1
      release/beta/compose.yaml

+ 4 - 1
release/beta/compose.yaml

@@ -36,6 +36,9 @@ services:
       - ${MGT_PORT:-9443}:1443
       - ${MGT_PORT:-9443}:1443
     environment:
     environment:
       - MGT_PG=postgres://safeline-ce:${POSTGRES_PASSWORD}@safeline-pg/safeline-ce?sslmode=disable
       - MGT_PG=postgres://safeline-ce:${POSTGRES_PASSWORD}@safeline-pg/safeline-ce?sslmode=disable
+    depends_on:
+      - postgres
+      - fvm
     dns:
     dns:
       - 119.29.29.29
       - 119.29.29.29
       - 223.5.5.5
       - 223.5.5.5
@@ -87,7 +90,7 @@ services:
       - ${SAFELINE_DIR}/resources/cache:/usr/local/nginx/cache
       - ${SAFELINE_DIR}/resources/cache:/usr/local/nginx/cache
       - /etc/resolv.conf:/etc/resolv.conf
       - /etc/resolv.conf:/etc/resolv.conf
     environment:
     environment:
-      - TCD_MGT_API=https://${SUBNET_PREFIX}.4:1443/api/publish/server
+      - TCD_MGT_API=https://${SUBNET_PREFIX}.4:1443/api/open/publish/server
       - SNSERVER_ADDR=${SUBNET_PREFIX}.5:8000
       - SNSERVER_ADDR=${SUBNET_PREFIX}.5:8000
     ulimits:
     ulimits:
       nofile: 131072
       nofile: 131072