fix: Specify redis and nginx docker image verson
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
# 基础镜像
|
||||
FROM nginx
|
||||
FROM nginx:1.27.4
|
||||
|
||||
# 工作目录
|
||||
WORKDIR /opt/wfc/portal
|
||||
# 复制conf文件到路径
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# 基础镜像
|
||||
FROM redis
|
||||
FROM redis:7.4.2
|
||||
|
||||
# 挂载目录
|
||||
VOLUME /opt/wfc/redis
|
||||
|
||||
Reference in New Issue
Block a user