first commit
This commit is contained in:
@@ -0,0 +1,150 @@
|
||||
version : '3.8'
|
||||
services:
|
||||
linke-nginx:
|
||||
image: nginx:1.19.3
|
||||
container_name: linke-nginx
|
||||
restart: always
|
||||
ports:
|
||||
- 80:80
|
||||
# volumes:
|
||||
# - /home/docker/nginx:/etc/nginx
|
||||
linke-redis:
|
||||
image:
|
||||
# mhd-nacos:
|
||||
# container_name: mhd-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:
|
||||
# - mhd-mysql
|
||||
# mhd-mysql:
|
||||
# container_name: mhd-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
|
||||
# mhd-redis:
|
||||
# container_name: mhd-redis
|
||||
# image: redis
|
||||
# build:
|
||||
# context: ./redis
|
||||
# ports:
|
||||
# - "6379:6379"
|
||||
# volumes:
|
||||
# - ./redis/conf/redis.conf:/home/mhd/redis/redis.conf
|
||||
# - ./redis/data:/data
|
||||
# command: redis-server /home/mhd/redis/redis.conf
|
||||
# mhd-nginx:
|
||||
# container_name: mhd-nginx
|
||||
# image: nginx
|
||||
# build:
|
||||
# context: ./nginx
|
||||
# ports:
|
||||
# - "80:80"
|
||||
# volumes:
|
||||
# - ./nginx/html/dist:/home/mhd/projects/mhd-ui
|
||||
# - ./nginx/conf/nginx.conf:/etc/nginx/nginx.conf
|
||||
# - ./nginx/logs:/var/log/nginx
|
||||
# - ./nginx/conf.d:/etc/nginx/conf.d
|
||||
# depends_on:
|
||||
# - mhd-gateway
|
||||
# links:
|
||||
# - mhd-gateway
|
||||
# mhd-gateway:
|
||||
# container_name: mhd-gateway
|
||||
# build:
|
||||
# context: ./mhd/gateway
|
||||
# dockerfile: dockerfile
|
||||
# ports:
|
||||
# - "8088:8088"
|
||||
# depends_on:
|
||||
# - mhd-redis
|
||||
# links:
|
||||
# - mhd-redis
|
||||
# mhd-auth:
|
||||
# container_name: mhd-auth
|
||||
# build:
|
||||
# context: ./mhd/auth
|
||||
# dockerfile: dockerfile
|
||||
# ports:
|
||||
# - "9200:9200"
|
||||
# depends_on:
|
||||
# - mhd-redis
|
||||
# links:
|
||||
# - mhd-redis
|
||||
# mhd-modules-system:
|
||||
# container_name: mhd-modules-system
|
||||
# build:
|
||||
# context: ./mhd/modules/system
|
||||
# dockerfile: dockerfile
|
||||
# ports:
|
||||
# - "9201:9201"
|
||||
# depends_on:
|
||||
# - mhd-redis
|
||||
# - mhd-mysql
|
||||
# links:
|
||||
# - mhd-redis
|
||||
# - mhd-mysql
|
||||
# mhd-modules-gen:
|
||||
# container_name: mhd-modules-gen
|
||||
# build:
|
||||
# context: ./mhd/modules/gen
|
||||
# dockerfile: dockerfile
|
||||
# ports:
|
||||
# - "9202:9202"
|
||||
# depends_on:
|
||||
# - mhd-mysql
|
||||
# links:
|
||||
# - mhd-mysql
|
||||
# mhd-modules-job:
|
||||
# container_name: mhd-modules-job
|
||||
# build:
|
||||
# context: ./mhd/modules/job
|
||||
# dockerfile: dockerfile
|
||||
# ports:
|
||||
# - "9203:9203"
|
||||
# depends_on:
|
||||
# - mhd-mysql
|
||||
# links:
|
||||
# - mhd-mysql
|
||||
# mhd-modules-file:
|
||||
# container_name: mhd-modules-file
|
||||
# build:
|
||||
# context: ./mhd/modules/file
|
||||
# dockerfile: dockerfile
|
||||
# ports:
|
||||
# - "9300:9300"
|
||||
# volumes:
|
||||
# - ./mhd/uploadPath:/home/mhd/uploadPath
|
||||
# mhd-visual-monitor:
|
||||
# container_name: mhd-visual-monitor
|
||||
# build:
|
||||
# context: ./mhd/visual/monitor
|
||||
# dockerfile: dockerfile
|
||||
# ports:
|
||||
# - "9100:9100"
|
||||
Reference in New Issue
Block a user