Download docker-compose.yml from ArshVerma/CodeLens: direct link, hf CLI and curl.
- Browser
- Download file 565 Bytes
-
https://huggingface.co/spaces/ArshVerma/CodeLens/resolve/b0c19e3ba94ca04e32c360fa0341e7e59cfb2279/docker-compose.yml
- Command line
-
hf download hf://spaces/ArshVerma/CodeLens@b0c19e3ba94ca04e32c360fa0341e7e59cfb2279/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/ArshVerma/CodeLens/resolve/b0c19e3ba94ca04e32c360fa0341e7e59cfb2279/docker-compose.yml
565 Bytes
| version: "3.9" | |
| services: | |
| api: | |
| build: | |
| context: . | |
| target: production | |
| container_name: codelens-api | |
| ports: | |
| - "${APP_PORT:-7860}:7860" | |
| env_file: | |
| - .env | |
| environment: | |
| - APP_ENV=${APP_ENV:-development} | |
| - LOG_LEVEL=${LOG_LEVEL:-INFO} | |
| volumes: | |
| - codelens-data:/app/data | |
| restart: unless-stopped | |
| healthcheck: | |
| test: ["CMD", "curl", "-f", "http://localhost:7860/health"] | |
| interval: 30s | |
| timeout: 10s | |
| retries: 3 | |
| start_period: 15s | |
| volumes: | |
| codelens-data: | |
| driver: local | |