mirror of
https://github.com/katanemo/plano.git
synced 2026-04-26 01:06:25 +02:00
* Fixed build. Now, we have a bare bones version of the docker-compose file with only two services, archgw and archgw-model-server. Tested using CLI * some pre-commit fixes * fixed cargo formatting issues * fixed model server conflict changes --------- Co-authored-by: Salman Paracha <salmanparacha@MacBook-Pro-261.local>
28 lines
663 B
YAML
28 lines
663 B
YAML
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/
|
|
depends_on:
|
|
archgw_model_server:
|
|
condition: service_healthy
|
|
|
|
archgw_model_server:
|
|
build:
|
|
context: ../model_server
|
|
dockerfile: Dockerfile
|
|
ports:
|
|
- "18081:80"
|
|
healthcheck:
|
|
test: ["CMD", "curl" ,"http://localhost/healthz"]
|
|
interval: 5s
|
|
retries: 20
|
|
volumes:
|
|
- ~/.cache/huggingface:/root/.cache/huggingface
|