version: "3" services: eureka_config: image: registry.cn-hangzhou.aliyuncs.com/tuon/eureka_config:1.0.1 ports: - "12121:12121" container_name: eureka_config environment: - spring.profiles.active=sit,jdbc volumes: - /data/logs/eureka:/logs - "/etc/localtime:/etc/localtime:ro" deploy: restart_policy: condition: on-failure