Skip to content

Commit

Permalink
Ollama with Let's Encrypt Using Docker Compose
Browse files Browse the repository at this point in the history
  • Loading branch information
heyvaldemar authored Feb 7, 2025
1 parent 27d1a12 commit 7c6a3c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ollama-traefik-letsencrypt-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ services:
command:
# Set the log level (DEBUG, INFO, WARN, ERROR)
- "--log.level=${TRAEFIK_LOG_LEVEL}"
# Enable the built-in API and web-based dashboard on /dashboard
# Enable the built-in API and web-based dashboard
- "--api.dashboard=true"
# Enable the /ping endpoint so we can health-check Traefik
- "--ping=true"
Expand Down Expand Up @@ -155,15 +155,15 @@ services:
retries: 3
start_period: 5s
labels:
# Enable Traefik for this container.
# Enable Traefik for this container
- "traefik.enable=true"
# A router to expose the Traefik dashboard
- "traefik.http.routers.dashboard.rule=Host(`${TRAEFIK_HOSTNAME}`)"
- "traefik.http.routers.dashboard.entrypoints=websecure"
- "traefik.http.routers.dashboard.tls=true"
- "traefik.http.routers.dashboard.tls.certresolver=letsencrypt"
- "traefik.http.routers.dashboard.service=api@internal"
# asic Authentication for the Traefik dashboard
# Basic Authentication for the Traefik dashboard
- "traefik.http.routers.dashboard.middlewares=authtraefik"
- "traefik.http.middlewares.authtraefik.basicauth.users=${TRAEFIK_BASIC_AUTH}"
# Specify the internal server port to the dashboard service
Expand Down

0 comments on commit 7c6a3c8

Please sign in to comment.