fix: Specify redis and nginx docker image verson
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
wfc-nacos:
|
wfc-nacos:
|
||||||
image: nacos/nacos-server
|
image: nacos/nacos-server:v2.5.0
|
||||||
container_name: ${NACOS_SERVER_NAME}
|
container_name: ${NACOS_SERVER_NAME}
|
||||||
build:
|
build:
|
||||||
context: ./nacos
|
context: ./nacos
|
||||||
@@ -62,7 +62,7 @@ services:
|
|||||||
restart: ${RESTART_OPTION}
|
restart: ${RESTART_OPTION}
|
||||||
|
|
||||||
wfc-redis:
|
wfc-redis:
|
||||||
image: redis
|
image: redis:7.4.2
|
||||||
container_name: wfc-redis
|
container_name: wfc-redis
|
||||||
build:
|
build:
|
||||||
context: ./redis
|
context: ./redis
|
||||||
@@ -318,7 +318,7 @@ services:
|
|||||||
restart: ${RESTART_OPTION}
|
restart: ${RESTART_OPTION}
|
||||||
|
|
||||||
wfc-nginx:
|
wfc-nginx:
|
||||||
image: nginx
|
image: nginx:1.27.4
|
||||||
container_name: wfc-nginx
|
container_name: wfc-nginx
|
||||||
build:
|
build:
|
||||||
context: ./nginx
|
context: ./nginx
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
wfc-nacos:
|
wfc-nacos:
|
||||||
image: nacos/nacos-server
|
image: nacos/nacos-server:v2.5.0
|
||||||
container_name: ${NACOS_SERVER_NAME}
|
container_name: ${NACOS_SERVER_NAME}
|
||||||
build:
|
build:
|
||||||
context: ./nacos
|
context: ./nacos
|
||||||
@@ -62,7 +62,7 @@ services:
|
|||||||
restart: ${RESTART_OPTION}
|
restart: ${RESTART_OPTION}
|
||||||
|
|
||||||
wfc-redis:
|
wfc-redis:
|
||||||
image: redis
|
image: redis:7.4.2
|
||||||
container_name: wfc-redis
|
container_name: wfc-redis
|
||||||
build:
|
build:
|
||||||
context: ./redis
|
context: ./redis
|
||||||
@@ -314,7 +314,7 @@ services:
|
|||||||
restart: ${RESTART_OPTION}
|
restart: ${RESTART_OPTION}
|
||||||
|
|
||||||
wfc-nginx:
|
wfc-nginx:
|
||||||
image: nginx
|
image: nginx:1.27.4
|
||||||
container_name: wfc-nginx
|
container_name: wfc-nginx
|
||||||
build:
|
build:
|
||||||
context: ./nginx
|
context: ./nginx
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
# 基础镜像
|
# 基础镜像
|
||||||
FROM nginx
|
FROM nginx:1.27.4
|
||||||
|
|
||||||
# 工作目录
|
# 工作目录
|
||||||
WORKDIR /opt/wfc/portal
|
WORKDIR /opt/wfc/portal
|
||||||
# 复制conf文件到路径
|
# 复制conf文件到路径
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# 基础镜像
|
# 基础镜像
|
||||||
FROM redis
|
FROM redis:7.4.2
|
||||||
|
|
||||||
# 挂载目录
|
# 挂载目录
|
||||||
VOLUME /opt/wfc/redis
|
VOLUME /opt/wfc/redis
|
||||||
|
|||||||
Reference in New Issue
Block a user