- 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
25 lines
620 B
YAML
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
|