version: '2.2' services: back-user: restart: always build: context: ./ dockerfile: background-user/docker/Dockerfile args: JAR_FILE: target/background-gateway.jar.jar image: back-user:1.0.0 container_name: back-user-v1.0 ports: - 8890:8890 environment: DB_URL: 172.17.0.1:33056/compdfkit_saas_background DB_USERNAME: deployer DB_PASSWORD: deployer@123! NACOS_ADDR: 101.132.103.13:28858 NACOS_IP: back-user NACOS_USERNAME: saasTest NACOS_PASSWORD: SaaSTest!ddf@123 MQ_HOST: 101.132.103.13 MQ_PORT: 35672 MQ_USERNAME: admin MQ_PASSWORD: 1qazZAQ!2 back-gateway: restart: always build: context: ./ dockerfile: background-gateway/docker/Dockerfile args: JAR_FILE: target/background-user.jar image: back-gateway:1.0.0 container_name: back-gateway-v1.0 ports: - 8088:8088 environment: NACOS_ADDR: 101.132.103.13:28858 NACOS_IP: back-gateway NACOS_USERNAME: saasTest NACOS_PASSWORD: SaaSTest!ddf@123