fix: Specify redis and nginx docker image verson

This commit is contained in:
zhangsz committed 2025-02-06 15:20:37 +08:00
1 parent 1979383e20
commit 2c7e8f8aa7
4 files changed
+9 -8

No files matched your search

@@ -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
+3 -3
View File
@@ -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
+2 -1
View File
@@ -1,5 +1,6 @@
# 基础镜像
FROM nginx
FROM nginx:1.27.4
# 工作目录
WORKDIR /opt/wfc/portal
# 复制conf文件到路径
+1 -1
View File
@@ -1,5 +1,5 @@
# 基础镜像
FROM redis
FROM redis:7.4.2
# 挂载目录
VOLUME /opt/wfc/redis