|
|
|
version: "2"
|
|
|
|
version: "2.4"
|
|
|
|
|
|
|
|
services:
|
|
|
|
cloud-usercenter:
|
|
...
|
...
|
@@ -12,15 +12,20 @@ services: |
|
|
|
# - SPRING_PROFILES=release
|
|
|
|
container_name: cloud-usercenter-jenkins
|
|
|
|
image: wlpt2/cloud-user-center:latest
|
|
|
|
environment:
|
|
|
|
- JAVA_OPTS=-XX:+UseContainerSupport -XX:MaxRAMPercentage=50.0
|
|
|
|
volumes:
|
|
|
|
- /home/wlpt/wlpt-cloud-userCenter/config:/config:ro
|
|
|
|
ports:
|
|
|
|
- "8066:8066"
|
|
|
|
expose:
|
|
|
|
- "8066"
|
|
|
|
volumes_from:
|
|
|
|
- container:pinpoint-agent
|
|
|
|
# volumes_from:
|
|
|
|
# - container:pinpoint-agent
|
|
|
|
network_mode: host
|
|
|
|
mem_limit: 1g
|
|
|
|
mem_reservation: 512m
|
|
|
|
cpus: 2.0
|
|
|
|
|
|
|
|
networks:
|
|
|
|
default:
|
...
|
...
|
|