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.
67 lines
2.2 KiB
YAML
67 lines
2.2 KiB
YAML
version: '3'
|
|
services:
|
|
waynboot-mobile-api:
|
|
image: adoptopenjdk:11-openj9
|
|
container_name: mobile
|
|
ports:
|
|
- "82"
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime
|
|
- /home/logs:/home/logs
|
|
- /opt/wayn/upload:/opt/wayn/upload
|
|
- ./jars/waynboot-mobile-api-1.1.0.jar:/home/app/waynboot-mobile-api-1.1.0.jar
|
|
restart: always
|
|
command: java -Xms500m -Xmx500m -Duser.timezone=GMT+8 -Dfile.encoding=utf-8 -jar /home/app/waynboot-mobile-api-1.1.0.jar
|
|
network_mode: "host"
|
|
environment:
|
|
- TZ=Asia/Shanghai
|
|
- LOG_PATH_PREFIX=/home/logs
|
|
- UPLOAD_DIR=/opt/wayn/upload
|
|
waynboot-admin-api:
|
|
image: adoptopenjdk:11-openj9
|
|
container_name: admin
|
|
ports:
|
|
- "81"
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime
|
|
- /home/logs:/home/logs
|
|
- /opt/wayn/upload:/opt/wayn/upload
|
|
- ./jars/waynboot-admin-api-1.1.0.jar:/home/app/waynboot-admin-api-1.1.0.jar
|
|
restart: always
|
|
command: java -Xms500m -Xmx500m -Duser.timezone=GMT+8 -Dfile.encoding=utf-8 -jar /home/app/waynboot-admin-api-1.1.0.jar
|
|
network_mode: "host"
|
|
environment:
|
|
- TZ=Asia/Shanghai
|
|
- LOG_PATH_PREFIX=/home/logs
|
|
- UPLOAD_DIR=/opt/wayn/upload
|
|
waynboot-message:
|
|
image: adoptopenjdk:11-openj9
|
|
container_name: message
|
|
ports:
|
|
- "85"
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime
|
|
- /home/logs:/home/logs
|
|
- /opt/wayn/upload:/opt/wayn/upload
|
|
- ./jars/waynboot-message-consumer-1.1.0.jar:/home/app/waynboot-message-consumer-1.1.0.jar
|
|
restart: always
|
|
command: java -Xms500m -Xmx500m -Duser.timezone=GMT+8 -Dfile.encoding=utf-8 -jar /home/app/waynboot-message-consumer-1.1.0.jar
|
|
network_mode: "host"
|
|
environment:
|
|
- TZ=Asia/Shanghai
|
|
- LOG_PATH_PREFIX=/home/logs
|
|
- UPLOAD_DIR=/opt/wayn/upload
|
|
waynboot-monitor:
|
|
image: adoptopenjdk:11-openj9
|
|
container_name: monitor
|
|
ports:
|
|
- "89"
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime
|
|
- ./jars/waynboot-monitor-1.1.0.jar:/home/app/waynboot-monitor-1.1.0.jar
|
|
restart: always
|
|
command: java -Xms500m -Xmx500m -Duser.timezone=GMT+8 -Dfile.encoding=utf-8 -jar /home/app/waynboot-monitor-1.1.0.jar
|
|
network_mode: "host"
|
|
environment:
|
|
- TZ=Asia/Shanghai
|