初始化v1.2
This commit is contained in:
+48
-48
@@ -1,7 +1,7 @@
|
||||
version : '3.8'
|
||||
services:
|
||||
ruoyi-nacos:
|
||||
container_name: ruoyi-nacos
|
||||
tongran-nacos:
|
||||
container_name: tongran-nacos
|
||||
image: nacos/nacos-server
|
||||
build:
|
||||
context: ./nacos
|
||||
@@ -15,9 +15,9 @@ services:
|
||||
- "9848:9848"
|
||||
- "9849:9849"
|
||||
depends_on:
|
||||
- ruoyi-mysql
|
||||
ruoyi-mysql:
|
||||
container_name: ruoyi-mysql
|
||||
- tongran-mysql
|
||||
tongran-mysql:
|
||||
container_name: tongran-mysql
|
||||
image: mysql:5.7
|
||||
build:
|
||||
context: ./mysql
|
||||
@@ -38,103 +38,103 @@ services:
|
||||
environment:
|
||||
MYSQL_DATABASE: 'ry-cloud'
|
||||
MYSQL_ROOT_PASSWORD: password
|
||||
ruoyi-redis:
|
||||
container_name: ruoyi-redis
|
||||
tongran-redis:
|
||||
container_name: tongran-redis
|
||||
image: redis
|
||||
build:
|
||||
context: ./redis
|
||||
ports:
|
||||
- "6379:6379"
|
||||
volumes:
|
||||
- ./redis/conf/redis.conf:/home/ruoyi/redis/redis.conf
|
||||
- ./redis/conf/redis.conf:/home/tongran/redis/redis.conf
|
||||
- ./redis/data:/data
|
||||
command: redis-server /home/ruoyi/redis/redis.conf
|
||||
ruoyi-nginx:
|
||||
container_name: ruoyi-nginx
|
||||
command: redis-server /home/tongran/redis/redis.conf
|
||||
tongran-nginx:
|
||||
container_name: tongran-nginx
|
||||
image: nginx
|
||||
build:
|
||||
context: ./nginx
|
||||
ports:
|
||||
- "80:80"
|
||||
volumes:
|
||||
- ./nginx/html/dist:/home/ruoyi/projects/ruoyi-ui
|
||||
- ./nginx/html/dist:/home/tongran/projects/tongran-ui
|
||||
- ./nginx/conf/nginx.conf:/etc/nginx/nginx.conf
|
||||
- ./nginx/logs:/var/log/nginx
|
||||
- ./nginx/conf.d:/etc/nginx/conf.d
|
||||
depends_on:
|
||||
- ruoyi-gateway
|
||||
- tongran-gateway
|
||||
links:
|
||||
- ruoyi-gateway
|
||||
ruoyi-gateway:
|
||||
container_name: ruoyi-gateway
|
||||
- tongran-gateway
|
||||
tongran-gateway:
|
||||
container_name: tongran-gateway
|
||||
build:
|
||||
context: ./ruoyi/gateway
|
||||
context: ./tongran/gateway
|
||||
dockerfile: dockerfile
|
||||
ports:
|
||||
- "8080:8080"
|
||||
depends_on:
|
||||
- ruoyi-redis
|
||||
- tongran-redis
|
||||
links:
|
||||
- ruoyi-redis
|
||||
ruoyi-auth:
|
||||
container_name: ruoyi-auth
|
||||
- tongran-redis
|
||||
tongran-auth:
|
||||
container_name: tongran-auth
|
||||
build:
|
||||
context: ./ruoyi/auth
|
||||
context: ./tongran/auth
|
||||
dockerfile: dockerfile
|
||||
ports:
|
||||
- "9200:9200"
|
||||
depends_on:
|
||||
- ruoyi-redis
|
||||
- tongran-redis
|
||||
links:
|
||||
- ruoyi-redis
|
||||
ruoyi-modules-system:
|
||||
container_name: ruoyi-modules-system
|
||||
- tongran-redis
|
||||
tongran-modules-system:
|
||||
container_name: tongran-modules-system
|
||||
build:
|
||||
context: ./ruoyi/modules/system
|
||||
context: ./tongran/modules/system
|
||||
dockerfile: dockerfile
|
||||
ports:
|
||||
- "9201:9201"
|
||||
depends_on:
|
||||
- ruoyi-redis
|
||||
- ruoyi-mysql
|
||||
- tongran-redis
|
||||
- tongran-mysql
|
||||
links:
|
||||
- ruoyi-redis
|
||||
- ruoyi-mysql
|
||||
ruoyi-modules-gen:
|
||||
container_name: ruoyi-modules-gen
|
||||
- tongran-redis
|
||||
- tongran-mysql
|
||||
tongran-modules-gen:
|
||||
container_name: tongran-modules-gen
|
||||
build:
|
||||
context: ./ruoyi/modules/gen
|
||||
context: ./tongran/modules/gen
|
||||
dockerfile: dockerfile
|
||||
ports:
|
||||
- "9202:9202"
|
||||
depends_on:
|
||||
- ruoyi-mysql
|
||||
- tongran-mysql
|
||||
links:
|
||||
- ruoyi-mysql
|
||||
ruoyi-modules-job:
|
||||
container_name: ruoyi-modules-job
|
||||
- tongran-mysql
|
||||
tongran-modules-job:
|
||||
container_name: tongran-modules-job
|
||||
build:
|
||||
context: ./ruoyi/modules/job
|
||||
context: ./tongran/modules/job
|
||||
dockerfile: dockerfile
|
||||
ports:
|
||||
- "9203:9203"
|
||||
depends_on:
|
||||
- ruoyi-mysql
|
||||
- tongran-mysql
|
||||
links:
|
||||
- ruoyi-mysql
|
||||
ruoyi-modules-file:
|
||||
container_name: ruoyi-modules-file
|
||||
- tongran-mysql
|
||||
tongran-modules-file:
|
||||
container_name: tongran-modules-file
|
||||
build:
|
||||
context: ./ruoyi/modules/file
|
||||
context: ./tongran/modules/file
|
||||
dockerfile: dockerfile
|
||||
ports:
|
||||
- "9300:9300"
|
||||
volumes:
|
||||
- ./ruoyi/uploadPath:/home/ruoyi/uploadPath
|
||||
ruoyi-visual-monitor:
|
||||
container_name: ruoyi-visual-monitor
|
||||
- ./tongran/uploadPath:/home/tongran/uploadPath
|
||||
tongran-visual-monitor:
|
||||
container_name: tongran-visual-monitor
|
||||
build:
|
||||
context: ./ruoyi/visual/monitor
|
||||
context: ./tongran/visual/monitor
|
||||
dockerfile: dockerfile
|
||||
ports:
|
||||
- "9100:9100"
|
||||
|
||||
Reference in New Issue
Block a user