fitandsleekAIchat / docker-compose.yml
kalapak-team's picture
Ship Fitandsleek AI assistant (Gradio + RAG + Docker).
2b08f89
Raw
History Blame Contribute Delete
581 Bytes
services:
fitandsleek-ai:
build: .
container_name: fitandsleek-ai
ports:
- "7860:7860"
env_file:
- .env
environment:
PORT: "7860"
# Use RTX GPU inside Docker Desktop (nvidia runtime)
FORCE_CPU: "0"
NVIDIA_VISIBLE_DEVICES: all
HF_HOME: /cache/huggingface
gpus: all
volumes:
- ./data:/app/data
- ./app.py:/app/app.py:ro
- ./config.py:/app/config.py:ro
- ./services:/app/services:ro
- hf_cache:/cache/huggingface
restart: unless-stopped
mem_limit: 18g
volumes:
hf_cache: