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