coder-demo / docker-compose.yml
AhmadA82's picture
u
d614e8c verified
raw
history blame
421 Bytes
version: '3.9'
services:
ai-assistant:
build:
context: .
dockerfile: Dockerfile
container_name: ai-dev-assistant
ports:
- "7860:7860"
volumes:
- ./data:/home/user/app/data
environment:
- HF_TOKEN=${HF_TOKEN}
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7860/"]
interval: 30s
timeout: 20s
retries: 5