Files
nixos-core/services/ollama/docker-compose.yml
T
kiskaadee fc55cc7f2a feat: initialize Arch-traefik-hub core with automated DNS-01 SSL
- Configure Traefik v3 with Dynu provider for Let's Encrypt challenges
- Implement up.sh for automated network setup and service deployment
- Scaffold services (Dozzle, Gitea, Ollama) with standardized labels
- Initialize FastAPI dashboard with Docker SDK integration
- Update README with new architecture and local domain mapping
2026-04-20 18:52:40 -05:00

25 lines
620 B
YAML

services:
ollama:
image: ollama/ollama:latest
deploy:
replicas: 3
environment:
- OLLAMA_HOST=0.0.0.0
volumes:
- ollama_data:/root/.ollama:rw
networks:
- proxy-net # Use the hub network
labels:
- "traefik.enable=true"
- "traefik.http.routers.ollama.rule=Host(`ollama.arch-services.mywire.org`)"
- "traefik.http.routers.ollama.entrypoints=websecure"
- "traefik.http.routers.ollama.tls.certresolver=myresolver"
- "traefik.http.services.ollama.loadbalancer.server.port=11434"
volumes:
ollama_data:
networks:
proxy-net:
external: true