plano/arch/docker-compose.yaml
Salman Paracha 8654d3d5c5
simplify developer getting started experience (#102)
* 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>
2024-10-01 10:02:23 -07:00

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