diff --git a/build/docker/compose/docker-compose-debug.yml b/build/docker/compose/docker-compose-debug.yml index 39546b0..56d6c8f 100644 --- a/build/docker/compose/docker-compose-debug.yml +++ b/build/docker/compose/docker-compose-debug.yml @@ -1,6 +1,6 @@ services: wfc-nacos: - image: nacos/nacos-server + image: nacos/nacos-server:v2.5.0 container_name: ${NACOS_SERVER_NAME} build: context: ./nacos @@ -62,7 +62,7 @@ services: restart: ${RESTART_OPTION} wfc-redis: - image: redis + image: redis:7.4.2 container_name: wfc-redis build: context: ./redis @@ -318,7 +318,7 @@ services: restart: ${RESTART_OPTION} wfc-nginx: - image: nginx + image: nginx:1.27.4 container_name: wfc-nginx build: context: ./nginx diff --git a/build/docker/compose/docker-compose.yml b/build/docker/compose/docker-compose.yml index b449c65..53e2137 100644 --- a/build/docker/compose/docker-compose.yml +++ b/build/docker/compose/docker-compose.yml @@ -1,6 +1,6 @@ services: wfc-nacos: - image: nacos/nacos-server + image: nacos/nacos-server:v2.5.0 container_name: ${NACOS_SERVER_NAME} build: context: ./nacos @@ -62,7 +62,7 @@ services: restart: ${RESTART_OPTION} wfc-redis: - image: redis + image: redis:7.4.2 container_name: wfc-redis build: context: ./redis @@ -314,7 +314,7 @@ services: restart: ${RESTART_OPTION} wfc-nginx: - image: nginx + image: nginx:1.27.4 container_name: wfc-nginx build: context: ./nginx diff --git a/build/docker/nginx/dockerfile b/build/docker/nginx/dockerfile index db4ca02..86a7384 100644 --- a/build/docker/nginx/dockerfile +++ b/build/docker/nginx/dockerfile @@ -1,5 +1,6 @@ # 基础镜像 -FROM nginx +FROM nginx:1.27.4 + # 工作目录 WORKDIR /opt/wfc/portal # 复制conf文件到路径 diff --git a/build/docker/redis/dockerfile b/build/docker/redis/dockerfile index c26c387..649128b 100644 --- a/build/docker/redis/dockerfile +++ b/build/docker/redis/dockerfile @@ -1,5 +1,5 @@ # 基础镜像 -FROM redis +FROM redis:7.4.2 # 挂载目录 VOLUME /opt/wfc/redis