forked from luyan/epmet-cloud-lingshan
44 changed files with 62 additions and 43 deletions
@ -0,0 +1,17 @@ |
|||
version: "3.7" |
|||
services: |
|||
container_name: common-service-server-test |
|||
image: registry-vpc.cn-qingdao.aliyuncs.com/epmet-cloud-test/common-service-server:0.3.1 |
|||
common-service-server: |
|||
ports: |
|||
- "8103:8103" |
|||
network_mode: host # 使用现有网络 |
|||
volumes: |
|||
- "/opt/epmet-cloud-logs/test:/logs" |
|||
environment: |
|||
RUN_INSTRUCT: "java -Xms32m -Xmx200m -jar ./app.jar" |
|||
deploy: |
|||
resources: |
|||
limits: |
|||
cpus: '0.1' |
|||
memory: 250M |
Loading…
Reference in new issue