version: "3" services: eureka_config: image: registry.cn-hangzhou.aliyuncs.com/tuon/eureka_config:1.0.1 ports: - "12121:12121" expose: - "12121" container_name: eureka_config environment: - spring.profiles.active=sit,jdbc - "JAVA_OPTS=-Xmx512m -Xms256m" volumes: - /data/logs:/logs - "/etc/localtime:/etc/localtime:ro" deploy: restart_policy: condition: on-failure resources: limits: memory: 768m reservations: memory: 256m