Download docker-compose.yml from nst1/gemini: direct link, hf CLI and curl.
- Browser
- Download file 535 Bytes
-
https://huggingface.co/spaces/nst1/gemini/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/nst1/gemini/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/nst1/gemini/resolve/main/docker-compose.yml
535 Bytes
| services: | |
| gemini-api: | |
| image: cooooookk/gemini-business2api:latest | |
| container_name: gemini-business2api | |
| ports: | |
| - "7860:7860" | |
| volumes: | |
| - ./data:/app/data | |
| env_file: | |
| - .env | |
| restart: unless-stopped | |
| # 健康检查 | |
| healthcheck: | |
| test: ["CMD", "curl", "-f", "http://localhost:7860/health"] | |
| interval: 30s | |
| timeout: 10s | |
| retries: 3 | |
| start_period: 10s | |
| # 日志限制 | |
| logging: | |
| driver: json-file | |
| options: | |
| max-size: "10m" | |
| max-file: "3" | |