version: '3.8' networks: microservice-network: driver: bridge services: data-service: image: crpi-amr0dt5e5pywqwaf.cn-hangzhou.personal.cr.aliyuncs.com/testrrr/data-service:latest container_name: ari-data-service restart: always ports: - "8000:8000" networks: - microservice-network environment: - SERVICE_NAME=data-service quant-service: image: crpi-amr0dt5e5pywqwaf.cn-hangzhou.personal.cr.aliyuncs.com/testrrr/quant-service:latest container_name: ari-quant-service restart: always expose: - "8001" ports: - "8001:8001" networks: - microservice-network environment: - SERVICE_NAME=quant-service emotion-service: image: crpi-amr0dt5e5pywqwaf.cn-hangzhou.personal.cr.aliyuncs.com/testrrr/emotion-service:latest container_name: ari-emotion-service restart: always expose: - "8002" ports: - "8002:8002" networks: - microservice-network environment: - SERVICE_NAME=emotion-service recommend-service: image: crpi-amr0dt5e5pywqwaf.cn-hangzhou.personal.cr.aliyuncs.com/testrrr/recommend-service:latest container_name: ari-recommend-service restart: always expose: - "8003" ports: - "8003:8003" networks: - microservice-network environment: - SERVICE_NAME=recommend-service user-service: image: crpi-amr0dt5e5pywqwaf.cn-hangzhou.personal.cr.aliyuncs.com/testrrr/user-service:latest container_name: ari-user-service restart: always expose: - "8004" ports: - "8004:8004" networks: - microservice-network environment: - SERVICE_NAME=user-service frontend: image: crpi-amr0dt5e5pywqwaf.cn-hangzhou.personal.cr.aliyuncs.com/testrrr/frontend:latest pull_policy: always container_name: ari-frontend restart: always depends_on: - data-service - quant-service - emotion-service - recommend-service - user-service expose: - "80" ports: - "8080:8080" networks: - microservice-network environment: - SERVICE_NAME=frontend