version: '2.2' services: back-user: restart: always build: context: ./back_user dockerfile: Dockerfile image: back-user:0.2.0 container_name: back-user-v0.2 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: ./back_gateway dockerfile: Dockerfile image: back-gateway:0.2.0 container_name: back-gateway-v0.2 ports: - 8088:8088 environment: NACOS_ADDR: 101.132.103.13:28858 NACOS_IP: back-gateway NACOS_USERNAME: saasTest NACOS_PASSWORD: SaaSTest!ddf@123