You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
141 lines
3.2 KiB
YAML
141 lines
3.2 KiB
YAML
version : '3.8'
|
|
services:
|
|
mesnac-nacos:
|
|
container_name: mesnac-nacos
|
|
image: nacos/nacos-server
|
|
build:
|
|
context: ./nacos
|
|
environment:
|
|
- MODE=standalone
|
|
volumes:
|
|
- ./nacos/logs/:/home/nacos/logs
|
|
- ./nacos/conf/application.properties:/home/nacos/conf/application.properties
|
|
ports:
|
|
- "8848:8848"
|
|
- "9848:9848"
|
|
- "9849:9849"
|
|
depends_on:
|
|
- mesnac-mysql
|
|
mesnac-mysql:
|
|
container_name: mesnac-mysql
|
|
image: mysql:5.7
|
|
build:
|
|
context: ./mysql
|
|
ports:
|
|
- "3306:3306"
|
|
volumes:
|
|
- ./mysql/conf:/etc/mysql/conf.d
|
|
- ./mysql/logs:/logs
|
|
- ./mysql/data:/var/lib/mysql
|
|
command: [
|
|
'mysqld',
|
|
'--innodb-buffer-pool-size=80M',
|
|
'--character-set-server=utf8mb4',
|
|
'--collation-server=utf8mb4_unicode_ci',
|
|
'--default-time-zone=+8:00',
|
|
'--lower-case-table-names=1'
|
|
]
|
|
environment:
|
|
MYSQL_DATABASE: 'ry-cloud'
|
|
MYSQL_ROOT_PASSWORD: password
|
|
mesnac-redis:
|
|
container_name: mesnac-redis
|
|
image: redis
|
|
build:
|
|
context: ./redis
|
|
ports:
|
|
- "6379:6379"
|
|
volumes:
|
|
- ./redis/conf/redis.conf:/home/mesnac/redis/redis.conf
|
|
- ./redis/data:/data
|
|
command: redis-server /home/mesnac/redis/redis.conf
|
|
mesnac-nginx:
|
|
container_name: mesnac-nginx
|
|
image: nginx
|
|
build:
|
|
context: ./nginx
|
|
ports:
|
|
- "80:80"
|
|
volumes:
|
|
- ./nginx/html/dist:/home/mesnac/projects/mesnac-ui
|
|
- ./nginx/conf/nginx.conf:/etc/nginx/nginx.conf
|
|
- ./nginx/logs:/var/log/nginx
|
|
- ./nginx/conf.d:/etc/nginx/conf.d
|
|
depends_on:
|
|
- mesnac-gateway
|
|
links:
|
|
- mesnac-gateway
|
|
mesnac-gateway:
|
|
container_name: mesnac-gateway
|
|
build:
|
|
context: ./mesnac/gateway
|
|
dockerfile: dockerfile
|
|
ports:
|
|
- "8080:8080"
|
|
depends_on:
|
|
- mesnac-redis
|
|
links:
|
|
- mesnac-redis
|
|
mesnac-auth:
|
|
container_name: mesnac-auth
|
|
build:
|
|
context: ./mesnac/auth
|
|
dockerfile: dockerfile
|
|
ports:
|
|
- "9200:9200"
|
|
depends_on:
|
|
- mesnac-redis
|
|
links:
|
|
- mesnac-redis
|
|
mesnac-modules-system:
|
|
container_name: mesnac-modules-system
|
|
build:
|
|
context: ./mesnac/modules/system
|
|
dockerfile: dockerfile
|
|
ports:
|
|
- "9201:9201"
|
|
depends_on:
|
|
- mesnac-redis
|
|
- mesnac-mysql
|
|
links:
|
|
- mesnac-redis
|
|
- mesnac-mysql
|
|
mesnac-modules-gen:
|
|
container_name: mesnac-modules-gen
|
|
build:
|
|
context: ./mesnac/modules/gen
|
|
dockerfile: dockerfile
|
|
ports:
|
|
- "9202:9202"
|
|
depends_on:
|
|
- mesnac-mysql
|
|
links:
|
|
- mesnac-mysql
|
|
mesnac-modules-job:
|
|
container_name: mesnac-modules-job
|
|
build:
|
|
context: ./mesnac/modules/job
|
|
dockerfile: dockerfile
|
|
ports:
|
|
- "9203:9203"
|
|
depends_on:
|
|
- mesnac-mysql
|
|
links:
|
|
- mesnac-mysql
|
|
mesnac-modules-file:
|
|
container_name: mesnac-modules-file
|
|
build:
|
|
context: ./mesnac/modules/file
|
|
dockerfile: dockerfile
|
|
ports:
|
|
- "9300:9300"
|
|
volumes:
|
|
- ./mesnac/uploadPath:/home/mesnac/uploadPath
|
|
mesnac-visual-monitor:
|
|
container_name: mesnac-visual-monitor
|
|
build:
|
|
context: ./mesnac/visual/monitor
|
|
dockerfile: dockerfile
|
|
ports:
|
|
- "9100:9100"
|