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.
84 lines
2.7 KiB
YAML
84 lines
2.7 KiB
YAML
version: '3'
|
|
services:
|
|
mobile:
|
|
image: ibm-semeru-runtimes:open-17-jdk
|
|
container_name: mobile
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime
|
|
- /home/logs:/home/logs
|
|
- /opt/waynboot-mall/upload:/opt/waynboot-mall/upload
|
|
- ./jars/waynboot-mobile-api.jar:/home/app/waynboot-mobile-api.jar
|
|
restart: always
|
|
command: java -Xms512m -Xmx512m -Duser.timezone=GMT+8 -Dfile.encoding=utf-8 -jar /home/app/waynboot-mobile-api.jar
|
|
ports:
|
|
- "82:82"
|
|
environment:
|
|
- TZ=Asia/Shanghai
|
|
- LOG_PATH_PREFIX=/home/logs
|
|
- UPLOAD_DIR=/opt/waynboot-mall/upload
|
|
network_mode: "host"
|
|
admin:
|
|
image: ibm-semeru-runtimes:open-17-jdk
|
|
container_name: admin
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime
|
|
- /home/logs:/home/logs
|
|
- /opt/waynboot-mall/upload:/opt/waynboot-mall/upload
|
|
- ./jars/waynboot-admin-api.jar:/home/app/waynboot-admin-api.jar
|
|
restart: always
|
|
command: java -Xms512m -Xmx512m -Duser.timezone=GMT+8 -Dfile.encoding=utf-8 -jar /home/app/waynboot-admin-api.jar
|
|
ports:
|
|
- "81:81"
|
|
environment:
|
|
- TZ=Asia/Shanghai
|
|
- LOG_PATH_PREFIX=/home/logs
|
|
- UPLOAD_DIR=/opt/waynboot-mall/upload
|
|
network_mode: "host"
|
|
message:
|
|
image: ibm-semeru-runtimes:open-17-jdk
|
|
container_name: message
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime
|
|
- /home/logs:/home/logs
|
|
- /opt/waynboot-mall/upload:/opt/waynboot-mall/upload
|
|
- ./jars/waynboot-message-consumer.jar:/home/app/waynboot-message-consumer.jar
|
|
restart: always
|
|
command: java -Xms512m -Xmx512m -Duser.timezone=GMT+8 -Dfile.encoding=utf-8 -jar /home/app/waynboot-message-consumer.jar
|
|
ports:
|
|
- "85:85"
|
|
environment:
|
|
- TZ=Asia/Shanghai
|
|
- LOG_PATH_PREFIX=/home/logs
|
|
- UPLOAD_DIR=/opt/waynboot-mall/upload
|
|
network_mode: "host"
|
|
monitor:
|
|
image: ibm-semeru-runtimes:open-17-jdk
|
|
container_name: boot-admin
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime
|
|
- ./jars/waynboot-monitor.jar:/home/app/waynboot-monitor.jar
|
|
restart: always
|
|
command: java -Xms512m -Xmx512m -Duser.timezone=GMT+8 -Dfile.encoding=utf-8 -jar /home/app/waynboot-monitor.jar
|
|
ports:
|
|
- "89:89"
|
|
environment:
|
|
- TZ=Asia/Shanghai
|
|
network_mode: "host"
|
|
nginx:
|
|
container_name: "nginx"
|
|
image: nginx:latest
|
|
restart: always
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
environment:
|
|
- TZ=Asia/Shanghai
|
|
volumes:
|
|
- /opt/waynboot-mall/upload:/opt/waynboot-mall/upload
|
|
- ./nginx/conf.d:/etc/nginx/conf.d
|
|
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
|
|
- ./nginx/log:/var/log/nginx/
|
|
- ./front/mall:/usr/share/nginx/html/mall/
|
|
- ./front/admin:/usr/share/nginx/html/admin/
|
|
network_mode: "host"
|