提交 64c7264f authored 作者: 李炎's avatar 李炎

修改配置

上级 be4ba159
...@@ -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: eipsystem-mysql:
image: localhost:5000/wmsSystem-mysql:latest image: 192.168.2.144:5000/eipsystem-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: eipsystem-mysql
command: command:
--character-set-server=utf8mb4 --character-set-server=utf8mb4
--collation-server=utf8mb4_general_ci --collation-server=utf8mb4_general_ci
...@@ -27,25 +27,20 @@ services: ...@@ -27,25 +27,20 @@ services:
ports: ports:
- 13579:3306 - 13579:3306
wmsSystem-redis: eipsystem-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: eipsystem-redis
wmsSystem-system: eipsystem-system:
image: localhost:5000/wmsSystem-system:latest image: 192.168.2.144:5000/eipsystem-system:latest
restart: always restart: always
container_name: wmsSystem-system container_name: eipsystem-system
volumes: volumes:
- /data/config:/wmsSystem/config - /data/config:/eipsystem/config
ports: ports:
- 8080:8080 - 8080:8080
wmsSystem-nginx:
image: localhost:5000/wmsSystem-nginx:latest \ No newline at end of file
restart: always
container_name: wmsSystem-nginx
ports:
- 80:80
\ No newline at end of file
version: '2' version: '2'
services: services:
wmssystem2-mysql: eipsystem-mysql:
build: build:
context: ./db context: ./db
environment: environment:
MYSQL_ROOT_PASSWORD: gf^*i6%&9J83&(*kJ653F&L MYSQL_ROOT_PASSWORD: gf^*i6%&9J83&(*kJ653F&L
restart: always restart: always
container_name: wmssystem2-mysql container_name: eipsystem-mysql
image: wmssystem2-mysql image: eipsystem-mysql
command: command:
--character-set-server=utf8mb4 --character-set-server=utf8mb4
--collation-server=utf8mb4_general_ci --collation-server=utf8mb4_general_ci
...@@ -17,19 +17,19 @@ services: ...@@ -17,19 +17,19 @@ services:
ports: ports:
- 24680:3306 - 24680:3306
wmssystem2-redis: eipsystem-redis:
image: redis:5.0 image: redis:5.0
ports: ports:
- 6666:6379 - 6666:6379
restart: always restart: always
container_name: wmssystem2-redis container_name: eipsystem-redis
wmssystem2-system: eipsystem-system:
build: build:
context: ./jeecg-boot-module-system context: ./jeecg-boot-module-system
restart: always restart: always
container_name: wmssystem2-system container_name: eipsystem-system
image: wmssystem2-system image: eipsystem-system
ports: ports:
- 8081:8080 - 8081:8080
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论