修正容器启动时跳过dockerfile直接拉取官方映像檔问题
parent
8dabd3806d
commit
44f75af624
|
|
@ -2,7 +2,6 @@ version : '3.8'
|
|||
services:
|
||||
ruoyi-nacos:
|
||||
container_name: ruoyi-nacos
|
||||
image: nacos/nacos-server
|
||||
build:
|
||||
context: ./nacos
|
||||
environment:
|
||||
|
|
@ -18,7 +17,6 @@ services:
|
|||
- ruoyi-mysql
|
||||
ruoyi-mysql:
|
||||
container_name: ruoyi-mysql
|
||||
image: mysql:5.7
|
||||
build:
|
||||
context: ./mysql
|
||||
ports:
|
||||
|
|
@ -40,7 +38,6 @@ services:
|
|||
MYSQL_ROOT_PASSWORD: password
|
||||
ruoyi-redis:
|
||||
container_name: ruoyi-redis
|
||||
image: redis
|
||||
build:
|
||||
context: ./redis
|
||||
ports:
|
||||
|
|
@ -51,7 +48,6 @@ services:
|
|||
command: redis-server /home/ruoyi/redis/redis.conf
|
||||
ruoyi-nginx:
|
||||
container_name: ruoyi-nginx
|
||||
image: nginx
|
||||
build:
|
||||
context: ./nginx
|
||||
ports:
|
||||
|
|
|
|||
Loading…
Reference in New Issue