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

修改配置

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