|
|
@@ -126,22 +126,22 @@ services:
|
|
|
|
|
|
|
|
|
#微服务-配置中心
|
|
|
- # msconfig:
|
|
|
- # image: lianshufeng/springboot:jdk17
|
|
|
- # ports:
|
|
|
- # - "8080:8080"
|
|
|
- # volumes:
|
|
|
- # - "./config:/opt/jar/"
|
|
|
- # working_dir: /opt/jar
|
|
|
- # container_name: msconfig
|
|
|
- # restart: always
|
|
|
- # environment:
|
|
|
- # - UpdateResources=${ResourcesUrl}/resources/app/Config-1.0.0-SNAPSHOT.jar
|
|
|
- # command: nohup java -Dfile.encoding=UTF-8 -Xmx300m -Xms200m -Duser.timezone=GMT+8 -Dspring.profiles.active=dev -jar Config-1.0.0-SNAPSHOT.jar
|
|
|
- # depends_on:
|
|
|
- # - consul_node
|
|
|
- # networks:
|
|
|
- # - ms_net
|
|
|
+ msconfig:
|
|
|
+ image: lianshufeng/springboot:jdk17
|
|
|
+ ports:
|
|
|
+ - "8080:8080"
|
|
|
+ volumes:
|
|
|
+ - "./config:/opt/jar/"
|
|
|
+ working_dir: /opt/jar
|
|
|
+ container_name: msconfig
|
|
|
+ restart: always
|
|
|
+ environment:
|
|
|
+ - UpdateResources=${ResourcesUrl}/resources/app/Config-1.0.0-SNAPSHOT.jar
|
|
|
+ command: nohup java -Dfile.encoding=UTF-8 -Xmx300m -Xms200m -Duser.timezone=GMT+8 -Dspring.profiles.active=dev -jar Config-1.0.0-SNAPSHOT.jar
|
|
|
+ depends_on:
|
|
|
+ - consul_node
|
|
|
+ networks:
|
|
|
+ - ms_net
|
|
|
|
|
|
|
|
|
|