|
...
|
...
|
@@ -5,7 +5,7 @@ services: |
|
|
|
container_name: cloud-usercenter-jenkins
|
|
|
|
image: wlpt2/cloud-user-center:latest
|
|
|
|
environment:
|
|
|
|
- JAVA_OPTS=-XX:+UseContainerSupport -XX:MaxRAMPercentage=50.0 -XX:+StartAttachListener -Djdk.attach.allowAttachSelf=true
|
|
|
|
- JAVA_OPTS=-XX:+UseContainerSupport -XX:MaxRAMPercentage=50.0 -XX:+StartAttachListener -Djdk.attach.allowAttachSelf=true -Xms256m -Xmx512m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=256m
|
|
|
|
volumes:
|
|
|
|
- /home/wlpt/wlpt-cloud-userCenter/config:/config:ro
|
|
|
|
ports:
|
|
...
|
...
|
@@ -15,8 +15,8 @@ services: |
|
|
|
# volumes_from:
|
|
|
|
# - container:pinpoint-agent
|
|
|
|
network_mode: host
|
|
|
|
mem_limit: 1g
|
|
|
|
mem_reservation: 512m
|
|
|
|
mem_limit: 2g
|
|
|
|
mem_reservation: 1g
|
|
|
|
cpus: 2.0
|
|
|
|
|
|
|
|
networks:
|
...
|
...
|
|