From 6a8e281b6684c4c39b910de3935eab63d301d88c Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期四, 08 七月 2021 20:06:06 +0800 Subject: [PATCH] update 更新docker脚本配置 --- docker/docker-compose.yml | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 0da3032..93c18f4 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -18,8 +18,6 @@ - /docker/mysql/data/:/var/lib/mysql/ # 閰嶇疆鎸傝浇 - /docker/mysql/conf/:/etc/mysql/conf.d/ - # 鍒濆鍖栫洰褰曟寕杞� - - /docker/mysql/init/:/docker-entrypoint-initdb.d/ command: # 灏唌ysql8.0榛樿瀵嗙爜绛栫暐 淇敼涓� 鍘熷厛 绛栫暐 (mysql8.0瀵瑰叾榛樿绛栫暐鍋氫簡鏇存敼 浼氬鑷村瘑鐮佹棤娉曞尮閰�) --default-authentication-plugin=mysql_native_password @@ -57,7 +55,7 @@ - ruoyi_net redis: - image: redis:6.0.9 + image: redis:6.2.1 container_name: redis ports: - 6379:6379 @@ -78,13 +76,17 @@ ipv4_address: 172.30.0.48 ruoyi-admin: - image: "${REGISTER}/ruoyi-admin:${TAG}" + image: "ruoyi/ruoyi-admin:2.4.0" environment: - TZ=Asia/Shanghai + volumes: + # 閰嶇疆鏂囦欢 + - /docker/server/logs/:/ruoyi/server/logs/ privileged: true restart: always networks: - - ruoyi_net + ruoyi_net: + ipv4_address: 172.30.0.60 networks: ruoyi_net: -- Gitblit v1.9.3