提交 5565337c authored 作者: 李炎's avatar 李炎

修改配置

上级 f38f700a
...@@ -12,12 +12,12 @@ ...@@ -12,12 +12,12 @@
# 第二步:将此yml文件上传服务器,执行启动命令 docker-compose -f ./docker-compose-server.yml up # 第二步:将此yml文件上传服务器,执行启动命令 docker-compose -f ./docker-compose-server.yml up
version: '2' version: '2'
services: services:
wmsSystem-mysql: wmssystem1-mysql:
image: localhost:5000/wmsSystem-mysql:latest image: 1ar8696937.iok.la:22594/wmssystem1-mysql:latest
environment: environment:
MYSQL_ROOT_PASSWORD: gf^*i6%&9J83&(*kJ653F&L MYSQL_ROOT_PASSWORD: gf^*i6%&9J83&(*kJ653F&L
restart: always restart: always
container_name: wmsSystem-mysql container_name: wmssystem1-mysql
command: command:
--character-set-server=utf8mb4 --character-set-server=utf8mb4
--collation-server=utf8mb4_general_ci --collation-server=utf8mb4_general_ci
...@@ -27,25 +27,25 @@ services: ...@@ -27,25 +27,25 @@ services:
ports: ports:
- 13579:3306 - 13579:3306
wmsSystem-redis: wmssystem1-redis:
image: redis:5.0 image: redis:5.0
ports: ports:
- 6379:6379 - 6379:6379
restart: always restart: always
container_name: wmsSystem-redis container_name: wmssystem1-redis
wmsSystem-system: wmssystem1-system:
image: localhost:5000/wmsSystem-system:latest image: 1ar8696937.iok.la:22594/wmssystem1-system:latest
restart: always restart: always
container_name: wmsSystem-system container_name: wmssystem1-system
volumes: volumes:
- /data/config:/wmsSystem/config - /data/config:/wmssystem1/config
ports: ports:
- 8080:8080 - 8080:8080
wmsSystem-nginx: wmssystem1-nginx:
image: localhost:5000/wmsSystem-nginx:latest image: 1ar8696937.iok.la:22594/wmssystem1-nginx:latest
restart: always restart: always
container_name: wmsSystem-nginx container_name: wmssystem1-nginx
ports: ports:
- 80:80 - 80:80
\ No newline at end of file
...@@ -140,7 +140,7 @@ spring: ...@@ -140,7 +140,7 @@ spring:
#redis 配置 #redis 配置
redis: redis:
database: 0 database: 0
host: wmssystem-redis host: wmssystem1-redis
lettuce: lettuce:
pool: pool:
max-active: 8 #最大连接数据库连接数,设 0 为没有限制 max-active: 8 #最大连接数据库连接数,设 0 为没有限制
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论