fix: deploy issue
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user