Info docker-compose
version: '3.8'
services:
GateWay:
image: hub.domain.com/info/gateway-prod:v1.328
container_name: Lit_GateWay
restart: always
network_mode: host
user: root
volumes:
- /mnt/001.InfoLogs:/logs
cpus: '0.5'
mem_limit: 2g
hostname: Lit_GateWay
environment:
- server.port=10000
- spring.profiles.active=pvt
- spring.profiles.instaceId=1
- JAVA_OPTS=-Xms2g -Xmx2g -Xmn1500m -Xss256k -XX:SurvivorRatio=8 -XX:ParallelGCThreads=16 -XX:CMSFullGCsBeforeCompaction=20 -XX:+UseCMSCompactAtFullCollection -XX:+PrintGCDetails
extra_hosts:
- "Lit_GateWay:172.17.18.66"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:10000"]
interval: 1m30s
timeout: 10s
retries: 3
Lit_xxlJob:
image: hub.domain.com/info/xxljob-pvt:v1.65
container_name: Lit_xxlJob
restart: always
network_mode: host
user: root
volumes:
- /mnt/001.InfoLogs:/logs
cpus: '0.5'
mem_limit: 2g
hostname: Lit_xxlJob
depends_on:
- GateWay
environment:
- server.port=10020
- spring.profiles.active=pvt
- spring.profiles.instaceId=1
- JAVA_OPTS=-Xms2g -Xmx2g -Xmn1500m -Xss256k -XX:SurvivorRatio=8 -XX:ParallelGCThreads=16 -XX:CMSFullGCsBeforeCompaction=20 -XX:+UseCMSCompactAtFullCollection -XX:+PrintGCDetails
extra_hosts:
- "pvt-mysql.litsoft.com.cn:10.17.0.20"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:10020"]
interval: 1m30s
timeout: 10s
retries: 3
Lit_Authentication:
image: hub.domain.com/info/authentication-uat:v1.616
container_name: Lit_Authentication
restart: always
network_mode: host
user: root
volumes:
- /mnt/001.InfoLogs:/logs
cpus: '0.5'
mem_limit: 2g
hostname: Lit_Authentication
depends_on:
- Lit_xxlJob
environment:
- server.port=10030
- spring.profiles.active=pvt
- NACOS-ADDR=10.17.0.21:8848
- spring.profiles.instaceId=1
- JAVA_OPTS=-Xms2g -Xmx2g -Xmn1500m -Xss256k -XX:SurvivorRatio=8 -XX:ParallelGCThreads=16 -XX:CMSFullGCsBeforeCompaction=20 -XX:+UseCMSCompactAtFullCollection -XX:+PrintGCDetails
extra_hosts:
- "Lit_Authentication:10.17.0.21"
- "www.lit.redis.com:10.17.0.21"
- "www.lit.nacos.com:10.17.0.21"
- "www.lit.mysql.com:10.17.0.21"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:10030"]
interval: 1m30s
timeout: 10s
retries: 3
Lit_Manager:
image: hub.domain.com/info/manager-prod:v1.173
container_name: Lit_Manager
hostname: Lit_Manager
user: root
network_mode: host
volumes:
- /mnt/000.Docker/003.Lit_Information:/logs
extra_hosts:
- "Lit_Manager:172.17.18.66"
- "www.lit.redis.com:172.17.18.66"
- "www.lit.nacos.com:172.17.18.66"
- "www.lit.mysql.com:172.17.18.66"
deploy:
resources:
limits:
cpus: '0.5'
memory: 2g
restart: always
depends_on:
- Lit_Authentication
environment:
- server.port=10040
- spring.profiles.active=pvt
- NACOS-ADDR=172.17.18.66:8848
- spring.profiles.instaceId=1
- JAVA_OPTS=-Xms2g -Xmx2g -Xmn1500m -Xss256k -XX:SurvivorRatio=8 -XX:ParallelGCThreads=16 -XX:CMSFullGCsBeforeCompaction=20 -XX:+UseCMSCompactAtFullCollection -XX:+PrintGCDetails
Lit_PM:
image: hub.domain.com/info/pm-prod:v1.1026
container_name: Lit_PM
hostname: Lit_PM
user: root
network_mode: host
volumes:
- /mnt/000.Docker/003.Lit_Information:/logs
extra_hosts:
- "Lit_PM:172.17.18.66"
- "www.lit.redis.com:172.17.18.66"
- "www.lit.nacos.com:172.17.18.66"
- "www.lit.mysql.com:172.17.18.66"
deploy:
resources:
limits:
cpus: '0.5'
memory: 2g
restart: always
restart: always
depends_on:
- Lit_Authentication
environment:
- server.port=10050
- spring.profiles.active=pvt
- NACOS-ADDR=172.17.18.66:8848
- spring.profiles.instaceId=1
- JAVA_OPTS=-Xms2g -Xmx2g -Xmn1500m -Xss256k -XX:SurvivorRatio=8 -XX:ParallelGCThreads=16 -XX:CMSFullGCsBeforeCompaction=20 -XX:+UseCMSCompactAtFullCollection -XX:+PrintGCDetails
Lit_Process:
image: hub.domain.com/info/process-prod:v1.1133
container_name: Lit_Process
hostname: Lit_Process
user: root
network_mode: host
volumes:
- /mnt/000.Docker/003.Lit_Information:/logs
extra_hosts:
- "Lit_Process:172.17.18.66"
- "www.lit.redis.com:172.17.18.66"
- "www.lit.nacos.com:172.17.18.66"
- "www.lit.mysql.com:10.17.0.17"
deploy:
resources:
limits:
cpus: '0.5'
memory: 2g
restart: always
depends_on:
- Lit_Authentication
environment:
- server.port=10060
- spring.profiles.active=pvt
- NACOS-ADDR=172.17.18.66:8848
- spring.profiles.instaceId=1
- JAVA_OPTS=-Xms2g -Xmx2g -Xmn1500m -Xss256k -XX:SurvivorRatio=8 -XX:ParallelGCThreads=16 -XX:CMSFullGCsBeforeCompaction=20 -XX:+UseCMSCompactAtFullCollection -XX:+PrintGCDetails
Lit_Message:
image: hub.domain.com/info/message-prod:v1.263
container_name: Lit_Message
hostname: Lit_Message
user: root
network_mode: host
volumes:
- /mnt/000.Docker/003.Lit_Information:/logs
extra_hosts:
- "Lit_Message:172.17.18.66"
- "www.lit.redis.com:172.17.18.66"
- "www.lit.nacos.com:172.17.18.66"
- "www.lit.mysql.com:172.17.18.66"
deploy:
resources:
limits:
cpus: '0.5'
memory: 2g
restart: always
depends_on:
- Lit_Authentication
environment:
- server.port=10070
- spring.profiles.active=pvt
- NACOS-ADDR=172.17.18.66:8848
- spring.profiles.instaceId=1
- JAVA_OPTS=-Xms2g -Xmx2g -Xmn1500m -Xss256k -XX:SurvivorRatio=8 -XX:ParallelGCThreads=16 -XX:CMSFullGCsBeforeCompaction=20 -XX:+UseCMSCompactAtFullCollection -XX:+PrintGCDetails
Lit_manHour:
image: hub.domain.com/info/manhour-prod:v1.320
container_name: Lit_manHour
hostname: Lit_manHour
user: root
network_mode: host
volumes:
- /mnt/000.Docker/003.Lit_Information:/logs
extra_hosts:
- "Lit_manHour:172.17.18.66"
- "www.lit.redis.com:172.17.18.66"
- "www.lit.nacos.com:172.17.18.66"
- "www.lit.mysql.com:172.17.18.66"
deploy:
resources:
limits:
cpus: '0.5'
memory: 2g
restart: always
depends_on:
- Lit_Authentication
environment:
- server.port=10080
- spring.profiles.active=pvt
- NACOS-ADDR=172.17.18.66:8848
- spring.profiles.instaceId=1
- JAVA_OPTS=-Xms2g -Xmx2g -Xmn1500m -Xss256k -XX:SurvivorRatio=8 -XX:ParallelGCThreads=16 -XX:CMSFullGCsBeforeCompaction=20 -XX:+UseCMSCompactAtFullCollection -XX:+PrintGCDetails
Lit_Reconciliation:
image: hub.domain.com/info/reconciliation-prod:v1.489
container_name: Lit_Reconciliation
hostname: Lit_Reconciliation
user: root
network_mode: host
volumes:
- /mnt/000.Docker/003.Lit_Information:/logs
extra_hosts:
- "Lit_Reconciliation:172.17.18.66"
- "www.lit.redis.com:172.17.18.66"
- "www.lit.nacos.com:172.17.18.66"
- "www.lit.mysql.com:172.17.18.66"
deploy:
resources:
limits:
cpus: '0.5'
memory: 2g
restart: always
depends_on:
- Lit_Authentication
environment:
- server.port=10090
- spring.profiles.active=pvt
- NACOS-ADDR=172.17.18.66:8848
- spring.profiles.instaceId=1
- JAVA_OPTS=-Xms2g -Xmx2g -Xmn1500m -Xss256k -XX:SurvivorRatio=8 -XX:ParallelGCThreads=16 -XX:CMSFullGCsBeforeCompaction=20 -XX:+UseCMSCompactAtFullCollection -XX:+PrintGCDetails
Lit_IM:
image: hub.domain.com/info/im-prod:v1.86
container_name: Lit_IM
hostname: Lit_IM
user: root
network_mode: host
volumes:
- /mnt/000.Docker/003.Lit_Information:/logs
extra_hosts:
- "Lit_IM:172.17.18.66"
- "www.lit.redis.com:172.17.18.66"
- "www.lit.nacos.com:172.17.18.66"
- "www.lit.mysql.com:172.17.18.66"
deploy:
resources:
limits:
cpus: '0.5'
memory: 2g
restart: always
depends_on:
- Lit_Authentication
environment:
- server.port=10100
- spring.profiles.active=pvt
- NACOS-ADDR=172.17.18.66:8848
- spring.profiles.instaceId=1
- JAVA_OPTS=-Xms2g -Xmx2g -Xmn1500m -Xss256k -XX:SurvivorRatio=8 -XX:ParallelGCThreads=16 -XX:CMSFullGCsBeforeCompaction=20 -XX:+UseCMSCompactAtFullCollection -XX:+PrintGCDetails
######
Lit_Recruit:
image: hub.domain.com/info/recruit-prod:v1.587
container_name: Lit_Recruit
hostname: Lit_Recruit
user: root
network_mode: host
volumes:
- /mnt/000.Docker/003.Lit_Information:/logs
extra_hosts:
- "Lit_Recruit:172.17.18.66"
- "www.lit.redis.com:172.17.18.66"
- "www.lit.nacos.com:172.17.18.66"
- "www.lit.mysql.com:172.17.18.66"
deploy:
resources:
limits:
cpus: '0.5'
memory: 2g
restart: always
depends_on:
- Lit_Authentication
environment:
- server.port=10110
- spring.profiles.active=pvt
- NACOS-ADDR=172.17.18.66:8848
- spring.profiles.instaceId=1
- JAVA_OPTS=-Xms2g -Xmx2g -Xmn1500m -Xss256k -XX:SurvivorRatio=8 -XX:ParallelGCThreads=16 -XX:CMSFullGCsBeforeCompaction=20 -XX:+UseCMSCompactAtFullCollection -XX:+PrintGCDetails
Lit_Reimburse:
image: hub.domain.com/info/reimburse-prod:v1.1019
container_name: Lit_Reimburse
hostname: Lit_Reimburse
user: root
network_mode: host
volumes:
- /mnt/000.Docker/003.Lit_Information:/logs
extra_hosts:
- "Lit_Reimburse:172.17.18.66"
- "www.lit.redis.com:172.17.18.66"
- "www.lit.nacos.com:172.17.18.66"
- "www.lit.mysql.com:172.17.18.66"
deploy:
resources:
limits:
cpus: '0.5'
memory: 2g
restart: always
depends_on:
- Lit_Authentication
environment:
- server.port=10120
- spring.profiles.active=pvt
- NACOS-ADDR=172.17.18.66:8848
- spring.profiles.instaceId=1
- JAVA_OPTS=-Xms2g -Xmx2g -Xmn1500m -Xss256k -XX:SurvivorRatio=8 -XX:ParallelGCThreads=16 -XX:CMSFullGCsBeforeCompaction=20 -XX:+UseCMSCompactAtFullCollection -XX:+PrintGCDetails
Lit_Assets:
image: hub.domain.com/info/assets-prod:v1.643
container_name: Lit_Assets
hostname: Lit_Assets
user: root
network_mode: host
volumes:
- /mnt/000.Docker/003.Lit_Information:/logs
extra_hosts:
- "Lit_Assets:172.17.18.66"
- "www.lit.redis.com:172.17.18.66"
- "www.lit.nacos.com:172.17.18.66"
- "www.lit.mysql.com:172.17.18.66"
deploy:
resources:
limits:
cpus: '0.5'
memory: 2g
restart: always
depends_on:
- Lit_Authentication
environment:
- server.port=10130
- spring.profiles.active=pvt
- NACOS-ADDR=172.17.18.66:8848
- spring.profiles.instaceId=1
- JAVA_OPTS=-Xms2g -Xmx2g -Xmn1500m -Xss256k -XX:SurvivorRatio=8 -XX:ParallelGCThreads=16 -XX:CMSFullGCsBeforeCompaction=20 -XX:+UseCMSCompactAtFullCollection -XX:+PrintGCDetails
Lit_OA:
image: hub.domain.com/info/oa-prod:v1.554
container_name: Lit_OA
hostname: Lit_OA
user: root
network_mode: host
volumes:
- /mnt/000.Docker/003.Lit_Information:/logs
extra_hosts:
- "Lit_OA:172.17.18.66"
- "www.lit.redis.com:172.17.18.66"
- "www.lit.nacos.com:172.17.18.66"
- "www.lit.mysql.com:172.17.18.66"
deploy:
resources:
limits:
cpus: '0.5'
memory: 2g
restart: always
depends_on:
- Lit_Authentication
environment:
- server.port=10140
- spring.profiles.active=pvt
- NACOS-ADDR=172.17.18.66:8848
- spring.profiles.instaceId=1
- JAVA_OPTS=-Xms2g -Xmx2g -Xmn1500m -Xss256k -XX:SurvivorRatio=8 -XX:ParallelGCThreads=16 -XX:CMSFullGCsBeforeCompaction=20 -XX:+UseCMSCompactAtFullCollection -XX:+PrintGCDetails
Lit_Gross:
image: hub.domain.com/info/gross-uat:v1.212
container_name: Lit_Gross
hostname: Lit_Gross
user: root
network_mode: host
volumes:
- /mnt/000.Docker/003.Lit_Information:/logs
extra_hosts:
- "Lit_Gross:172.17.18.66"
- "www.lit.redis.com:172.17.18.66"
- "www.lit.nacos.com:172.17.18.66"
- "www.lit.mysql.com:172.17.18.66"
deploy:
resources:
limits:
cpus: '0.5'
memory: 2g
restart: always
depends_on:
- Lit_Authentication
environment:
- server.port=10150
- spring.profiles.active=pvt
- NACOS-ADDR=172.17.18.66:8848
- spring.profiles.instaceId=1
- JAVA_OPTS=-Xms2g -Xmx2g -Xmn1500m -Xss256k -XX:SurvivorRatio=8 -XX:ParallelGCThreads=16 -XX:CMSFullGCsBeforeCompaction=20 -XX:+UseCMSCompactAtFullCollection -XX:+PrintGCDetails
Lit_Contract:
image: hub.domain.com/info/contract-prod:v1.255
container_name: Lit_Contract
hostname: Lit_Contract
user: root
network_mode: host
volumes:
- /mnt/000.Docker/003.Lit_Information:/logs
extra_hosts:
- "Lit_Contract:172.17.18.66"
- "www.lit.redis.com:172.17.18.66"
- "www.lit.nacos.com:172.17.18.66"
- "www.lit.mysql.com:172.17.18.66"
deploy:
resources:
limits:
cpus: '0.5'
memory: 2g
restart: always
depends_on:
- Lit_Authentication
environment:
- server.port=10170
- spring.profiles.active=pvt
- NACOS-ADDR=172.17.18.66:8848
- spring.profiles.instaceId=1
- JAVA_OPTS=-Xms2g -Xmx2g -Xmn1500m -Xss256k -XX:SurvivorRatio=8 -XX:ParallelGCThreads=16 -XX:CMSFullGCsBeforeCompaction=20 -XX:+UseCMSCompactAtFullCollection -XX:+PrintGCDetails
Lit_Attendance:
image: hub.domain.com/info/attendance-uat:v1.424
container_name: Lit_Attendance
hostname: Lit_Attendance
user: root
network_mode: host
volumes:
- /mnt/000.Docker/003.Lit_Information:/logs
extra_hosts:
deploy:
resources:
limits:
cpus: '0.5'
memory: 2g
restart: always
depends_on:
- Lit_Authentication
environment:
- server.port=10190
- spring.profiles.active=pvt
- NACOS-ADDR=172.17.18.66:8848
- spring.profiles.instaceId=1
- JAVA_OPTS=-Xms2g -Xmx2g -Xmn1500m -Xss256k -XX:SurvivorRatio=8 -XX:ParallelGCThreads=16 -XX:CMSFullGCsBeforeCompaction=20 -XX:+UseCMSCompactAtFullCollection -XX:+PrintGCDetails
Lit_RBAC:
image: hub.domain.com/info/rbac-auth-prod:v1.289
container_name: Lit_RBAC
hostname: Lit_RBAC
user: root
network_mode: host
volumes:
- /mnt/000.Docker/003.Lit_Information:/logs
extra_hosts:
- "Lit_RBAC:172.17.18.66"
deploy:
resources:
limits:
cpus: '0.5'
memory: 2g
restart: always
depends_on:
- Lit_Authentication
environment:
- server.port=10200
- spring.profiles.active=pvt
- NACOS-ADDR=172.17.18.66:8848
- spring.profiles.instaceId=1
- JAVA_OPTS=-Xms2g -Xmx2g -Xmn1500m -Xss256k -XX:SurvivorRatio=8 -XX:ParallelGCThreads=16 -XX:CMSFullGCsBeforeCompaction=20 -XX:+UseCMSCompactAtFullCollection -XX:+PrintGCDetails
Lit_Task:
image: hub.domain.com/info/lit-task-prod:v1.189
container_name: Lit_Task
hostname: Lit_Task
user: root
network_mode: host
volumes:
- /mnt/000.Docker/003.Lit_Information:/logs
extra_hosts:
- "Lit_Task:172.17.18.66"
- "www.lit.redis.com:172.17.18.66"
- "www.lit.nacos.com:172.17.18.66"
- "www.lit.mysql.com:172.17.18.66"
deploy:
resources:
limits:
cpus: '0.5'
memory: 2g
restart: always
depends_on:
- Lit_Authentication
environment:
- server.port=10210
- spring.profiles.active=pvt
- NACOS-ADDR=172.17.18.66:8848
- spring.profiles.instaceId=1
- JAVA_OPTS=-Xms2g -Xmx2g -Xmn1500m -Xss256k -XX:SurvivorRatio=8 -XX:ParallelGCThreads=16 -XX:CMSFullGCsBeforeCompaction=20 -XX:+UseCMSCompactAtFullCollection -XX:+PrintGCDetails
### 前端服务
Lit_Web_Uat:
image: hub.domain.com/info/info-web-prod:v1.3180
container_name: Lit_Web_Uat
hostname: Lit_Web_Uat
user: root
ports:
- "80:80"
volumes:
- /etc/localtime:/etc/localtime:ro
restart: always
Lit_Admin_Web_Uat:
image: hub.domain.com/info/admin-web-uat:v1.51
container_name: Lit_Admin_Web_Uat
hostname: Lit_Admin_Web_Uat
user: root
ports:
- "81:80"
volumes:
- /etc/localtime:/etc/localtime:ro
restart: always
Lit_Gen_Web_Test:
image: hub.domain.com/info/gen-web-pvt:v1.38
container_name: Lit_Gen_Web_Test
hostname: Lit_Gen_Web_Test
user: root
ports:
- "82:80"
volumes:
- /etc/localtime:/etc/localtime:ro
restart: always
Lit_UI_Vue_Dev:
image: hub.domain.com/info/ui-vue-dev:v1.1
container_name: Lit_UI_Vue_Dev
hostname: Lit_UI_Vue_Dev
user: root
ports:
- "83:80"
volumes:
- /etc/localtime:/etc/localtime:ro
restart: always
Lit_Invoice_Management_Web_Uat:
image: hub.domain.com/info/outinvoice-web-prod:v1.233
container_name: Lit_Invoice_Management_Web_Uat
hostname: Lit_Invoice_Management_Web_Uat
user: root
ports:
- "84:80"
volumes:
- /etc/localtime:/etc/localtime:ro
restart: always
Lit_Attendance_Web_UAT:
image: hub.domain.com/info/attendance-web-uat:v1.262
container_name: Lit_Attendance_Web_UAT
hostname: Lit_Attendance_Web_UAT
user: root
ports:
- "85:80"
volumes:
- /etc/localtime:/etc/localtime:ro
restart: always
Lit_RBAC_Web_PVT:
image: hub.domain.com/info/rbac-web-pvt:v1.110
container_name: Lit_RBAC_Web_PVT
hostname: Lit_RBAC_Web_PVT
user: root
ports:
- "86:80"
volumes:
- /etc/localtime:/etc/localtime:ro
restart: always
Lit_Flow_Web_Uat:
image: hub.domain.com/info/flow-web-uat:v1.67
container_name: Lit_Flow_Web_Uat
hostname: Lit_Flow_Web_Uat
user: root
ports:
- "87:80"
volumes:
- /etc/localtime:/etc/localtime:ro
restart: always
Lit_Archive_Web_Uat:
image: hub.domain.com/info/archive-web-uat:v1.87
container_name: Lit_Archive_Web_Uat
hostname: Lit_Archive_Web_Uat
user: root
ports:
- "88:80"
volumes:
- /etc/localtime:/etc/localtime:ro
restart: always
评论区