|
|
@ -2,7 +2,6 @@ version : '3.8'
|
|
|
|
services:
|
|
|
|
services:
|
|
|
|
ruoyi-nacos:
|
|
|
|
ruoyi-nacos:
|
|
|
|
container_name: ruoyi-nacos
|
|
|
|
container_name: ruoyi-nacos
|
|
|
|
image: nacos/nacos-server
|
|
|
|
|
|
|
|
build:
|
|
|
|
build:
|
|
|
|
context: ./nacos
|
|
|
|
context: ./nacos
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
@ -18,7 +17,6 @@ services:
|
|
|
|
- ruoyi-mysql
|
|
|
|
- ruoyi-mysql
|
|
|
|
ruoyi-mysql:
|
|
|
|
ruoyi-mysql:
|
|
|
|
container_name: ruoyi-mysql
|
|
|
|
container_name: ruoyi-mysql
|
|
|
|
image: mysql:5.7
|
|
|
|
|
|
|
|
build:
|
|
|
|
build:
|
|
|
|
context: ./mysql
|
|
|
|
context: ./mysql
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
@ -40,7 +38,6 @@ services:
|
|
|
|
MYSQL_ROOT_PASSWORD: password
|
|
|
|
MYSQL_ROOT_PASSWORD: password
|
|
|
|
ruoyi-redis:
|
|
|
|
ruoyi-redis:
|
|
|
|
container_name: ruoyi-redis
|
|
|
|
container_name: ruoyi-redis
|
|
|
|
image: redis
|
|
|
|
|
|
|
|
build:
|
|
|
|
build:
|
|
|
|
context: ./redis
|
|
|
|
context: ./redis
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
@ -51,7 +48,6 @@ services:
|
|
|
|
command: redis-server /home/ruoyi/redis/redis.conf
|
|
|
|
command: redis-server /home/ruoyi/redis/redis.conf
|
|
|
|
ruoyi-nginx:
|
|
|
|
ruoyi-nginx:
|
|
|
|
container_name: ruoyi-nginx
|
|
|
|
container_name: ruoyi-nginx
|
|
|
|
image: nginx
|
|
|
|
|
|
|
|
build:
|
|
|
|
build:
|
|
|
|
context: ./nginx
|
|
|
|
context: ./nginx
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|