Download docker-compose.yml from Ferdinann/PoskoLog: direct link, hf CLI and curl.
- Browser
- Download file 588 Bytes
-
https://huggingface.co/spaces/Ferdinann/PoskoLog/resolve/main/docker-compose.yml
- Command line
-
hf download hf://spaces/Ferdinann/PoskoLog/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/spaces/Ferdinann/PoskoLog/resolve/main/docker-compose.yml
588 Bytes
| version: '3.8' | |
| services: | |
| sentiment-analyzer: | |
| build: . | |
| container_name: sentiment_keluhan_app | |
| ports: | |
| - "7860:7860" | |
| environment: | |
| - TRANSFORMERS_CACHE=/app/cache | |
| - HF_HOME=/app/cache | |
| volumes: | |
| # Mount cache untuk menyimpan model yang sudah di-download | |
| - model_cache:/app/cache | |
| restart: unless-stopped | |
| deploy: | |
| resources: | |
| limits: | |
| # Adjust sesuai kebutuhan server | |
| cpus: '2' | |
| memory: 4G | |
| reservations: | |
| cpus: '1' | |
| memory: 2G | |
| volumes: | |
| model_cache: | |
| driver: local | |