4 changed files with 20 additions and 3 deletions
@ -0,0 +1,17 @@ |
|||
version: "3.7" |
|||
services: |
|||
epmet-third-server: |
|||
container_name: epmet-third-server-prod |
|||
image: registry-vpc.cn-qingdao.aliyuncs.com/epmet-cloud-master/epmet-third-server:0.0.12 |
|||
ports: |
|||
- "8110:8110" |
|||
network_mode: host # 使用现有网络 |
|||
volumes: |
|||
- "/opt/epmet-cloud-logs/prod:/logs" |
|||
environment: |
|||
RUN_INSTRUCT: "java -Xms256m -Xmx512m -jar ./app.jar" |
|||
deploy: |
|||
resources: |
|||
limits: |
|||
cpus: '0.1' |
|||
memory: 600M |
Loading…
Reference in new issue