plano/arch/docker-compose.yaml

29 lines
649 B
YAML
Raw Normal View History

services:
archgw:
build:
context: ../
dockerfile: arch/Dockerfile
ports:
- "10000:10000"
- "18080:9901"
volumes:
- ${ARCH_CONFIG_FILE}:/config/arch_config.yaml
- /etc/ssl/cert.pem:/etc/ssl/cert.pem
- ./arch_log:/var/log/
2024-07-18 14:04:51 -07:00
depends_on:
model_server:
2024-07-18 14:04:51 -07:00
condition: service_healthy
model_server:
2024-07-18 14:04:51 -07:00
build:
context: ../model_server
2024-07-18 14:04:51 -07:00
dockerfile: Dockerfile
ports:
- "18081:80"
2024-07-18 14:04:51 -07:00
healthcheck:
test: ["CMD", "curl" ,"http://localhost/healthz"]
2024-07-18 14:04:51 -07:00
interval: 5s
retries: 20
volumes:
- ~/.cache/huggingface:/root/.cache/huggingface