services: backend: build: context: ./backend dockerfile: Dockerfile environment: - OLLAMA_URL=http://host.docker.internal:11434 - OLLAMA_MODEL=${OLLAMA_MODEL:-ministral-3:3b} - HOMEBOX_URL=http://host.docker.internal:3100 - HOMEBOX_TOKEN=${HOMEBOX_TOKEN:-} extra_hosts: - "host.docker.internal:host-gateway" restart: unless-stopped # Uncomment to expose backend directly for debugging # ports: # - "8000:8000" nginx: image: nginx:alpine ports: - "443:443" - "80:80" volumes: - ./nginx/nginx.docker.conf:/etc/nginx/nginx.conf:ro - ./nginx/certs:/etc/nginx/certs:ro - ./frontend:/usr/share/nginx/html:ro depends_on: - backend restart: unless-stopped