2
0

fix: deploy issue

This commit is contained in:
zhangsz
2025-01-11 17:47:28 +08:00
parent bc8dfb3e34
commit 504646f391
3 changed files with 8 additions and 3 deletions

View File

@@ -100,7 +100,7 @@ services:
- GATEWAY_SERVER_PORT=${GATEWAY_SERVER_PORT}
healthcheck:
test: ["CMD-SHELL", "curl -f http://${GATEWAY_SERVER_IP}:${GATEWAY_SERVER_PORT}/health || exit 1"]
interval: 30s
interval: 60s
timeout: 60s
retries: 10
restart: ${RESTART_OPTION}
@@ -134,7 +134,7 @@ services:
- AUTH_SERVER_PORT=${AUTH_SERVER_PORT}
healthcheck:
test: ["CMD-SHELL", "curl -f http://${AUTH_SERVER_IP}:${AUTH_SERVER_PORT}/health || exit 1"]
interval: 30s
interval: 60s
timeout: 60s
retries: 10
restart: ${RESTART_OPTION}

View File

@@ -2,4 +2,5 @@
FROM nacos/nacos-server
# 复制conf文件到路径
COPY ./conf/application.properties /home/nacos/conf/application.properties
# COPY ./conf/application.properties /home/nacos/conf/application.properties
COPY ./conf/application.yml /home/nacos/conf/application.yml