AriStockAI/docker-compose.local.yml

89 lines
2.1 KiB
YAML

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:
- "18000: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:
- "18001: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:
- "18002: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:
- "18003: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:
- "18004: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:
- "180:80"
networks:
- microservice-network
environment:
- SERVICE_NAME=frontend