Update domain, add kiwix and ollama
This commit is contained in:
24
project/service/ollama/ollama.yml
Normal file
24
project/service/ollama/ollama.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
services:
|
||||
ollama:
|
||||
extends:
|
||||
file: ${TEMPLATES_PATH}
|
||||
service: default
|
||||
image: ollama/ollama
|
||||
container_name: ollama
|
||||
ports:
|
||||
- 4019:11434
|
||||
networks:
|
||||
- ip6net
|
||||
volumes:
|
||||
- ${SERVICE_PATH}/ollama/data:/root/.ollama
|
||||
labels:
|
||||
# Watchtower
|
||||
- "com.centurylinklabs.watchtower.enable=true"
|
||||
# Traefik
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.ollama.rule=Host(`ollama.${PUBLIC_DOMAIN}`)"
|
||||
- "traefik.http.routers.ollama.entrypoints=https"
|
||||
- "traefik.http.routers.ollama.tls=true"
|
||||
- "traefik.http.routers.ollama.tls.certresolver=myresolver"
|
||||
# Middlewares
|
||||
- "traefik.http.routers.ollama.middlewares=crowdsec-bouncer@file"
|
||||
Reference in New Issue
Block a user