Restart traefik automatically on docker-int, enabled access logs on
Some checks failed
Ansible Deploy / Homelab-Deploy (ansible/buildHomelab.yaml) (push) Failing after 2m40s

traefik@docker-ext
This commit is contained in:
Justus Grunow 2025-06-17 06:41:12 -04:00
parent 8b5e3e10bd
commit 4e7e7a7f09
2 changed files with 3 additions and 1 deletions

View File

@ -25,6 +25,7 @@ services:
- --experimental.plugins.crowdsec-bouncer.modulename=github.com/maxlerebourg/crowdsec-bouncer-traefik-plugin
- --experimental.plugins.crowdsec-bouncer.version=v1.2.1
# - "--certificatesresolvers.myresolver.acme.tlschallenge=true"
- --accesslog=true
ports:
# The HTTP port
- "80:80"

View File

@ -5,6 +5,7 @@ services:
# The official v2 Traefik docker image
image: traefik:v3.3
# Enables the web UI and tells Traefik to listen to docker
restart: unless-stopped
command:
- --api.insecure=true
- --providers.docker
@ -74,7 +75,7 @@ services:
- consume:/usr/src/paperless/consume
#env_file: docker-compose.env
environment:
PAPERLESS_DATE_ORDER=MDY
PAPERLESS_DATE_ORDER: MDY
labels:
- "traefik.http.routers.paperless.rule=Host(`paperless.injust.us`)"
- "traefik.http.routers.paperless.entrypoints=websecure"