仓库第一部分
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

112 lines
2.8 KiB

version: '3.7'
services:
mysql5.7:
image: mysql:5.7
restart: always
volumes:
- mysql-conf:/etc/mysql/conf.d
- mysql-logs:/logs
- mysql-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: edu-training-mysql...
ports:
- "3307:3306"
redis:
image: redis
restart: always
ports:
- "7020:6379"
environment:
TZ: Asia/Shanghai
volumes:
- redis-data:/data
- redis-logs:/logs
command: redis-server --requirepass Mls@1234
minio:
image: minio/minio:RELEASE.2022-06-03T01-40-53Z
restart: always
volumes:
- minio:/data
ports:
- "8000:8000"
- "8001:8001"
command: server /data --address ":8000" --console-address ':8001'
environment:
MINIO_ROOT_USER: healthcard_minio
MINIO_ROOT_PASSWORD: healthcard_minio_pwd...
api:
image: edu-training-api:3.0.0.RELEASE
restart: always
entrypoint: java -Djava.security.egd=file:/dev/./urandom -Dspring.profiles.active=prod -jar app.jar
volumes:
- type: bind
source: /usr/share/zoneinfo
target: /usr/share/zoneinfo
ports:
- "8010:8088"
pc:
image: edu-training-pc:3.0.0.RELEASE
restart: always
ports:
- "8011:80"
admin:
image: edu-training-admin:3.0.0.RELEASE
restart: always
ports:
- "8018:80"
websocket-on-lan:
image: edu-training-websocket:3.0.0.RELEASE
restart: always
entrypoint: java -Djava.security.egd=file:/dev/./urandom -Dspring.profiles.active=prod -jar app.jar
volumes:
- type: bind
source: /usr/share/zoneinfo
target: /usr/share/zoneinfo
ports:
- "9102:7006"
websocket-on-wan:
image: edu-training-websocket:3.0.0.RELEASE
restart: always
entrypoint: java -Djava.security.egd=file:/dev/./urandom -Dspring.profiles.active=prod -jar app.jar
volumes:
- type: bind
source: /usr/share/zoneinfo
target: /usr/share/zoneinfo
ports:
- "8183:7006"
nginx-on-lan:
image: edu-training-nginx:3.0.0.RELEASE
volumes:
- type: bind
source: ./doc/script/nginx/pc
target: /usr/share/nginx/html/pc
- type: bind
source: ./doc/script/nginx/h5
target: /usr/share/nginx/html/h5
restart: always
ports:
- "8081:8081"
- "8082:8082"
- "8088:8083"
nginx-on-wan:
image: edu-training-nginx:3.0.0.RELEASE
volumes:
- type: bind
source: ./doc/script/nginx/pc
target: /usr/share/nginx/html/pc
- type: bind
source: ./doc/script/nginx/h5
target: /usr/share/nginx/html/h5
restart: always
ports:
- "8181:8081"
- "8182:8082"
- "8188:8083"
volumes:
mysql-conf:
mysql-logs:
mysql-data:
minio:
redis-data:
redis-logs: