@@ -50,7 +50,7 @@ services:
5050 socket-proxy :
5151 # this image is used to expose the docker socket as read-only to traefik
5252 # you can check https://github.com/11notes/docker-socket-proxy for all details
53- image : " 11notes/socket-proxy:2.1.2 "
53+ image : " 11notes/socket-proxy:2.1.3 "
5454 read_only : true
5555 user : " 0:108"
5656 environment :
@@ -68,16 +68,12 @@ services:
6868 image : " 11notes/traefik:3.5.0"
6969 read_only : true
7070 labels :
71- # read Traefiks own labels
7271 - " traefik.enable=true"
7372
74- # example on how to secure the traefik dashboard and api
75- - " traefik.http.routers.dashboard.rule=Host(`${TRAEFIK_FQDN}`)"
76- - " traefik.http.routers.dashboard.service=api@internal"
77- - " traefik.http.routers.dashboard.middlewares=dashboard-auth"
78- - " traefik.http.routers.dashboard.entrypoints=https"
79- # admin / traefik, please change!
80- - " traefik.http.middlewares.dashboard-auth.basicauth.users=admin:$2a$12$ktgZsFQZ0S1FeQbI1JjS9u36fAJMHDQaY6LNi9EkEp8sKtP5BK43C"
73+ # default errors middleware
74+ - " traefik.http.middlewares.default-errors.errors.status=402-599"
75+ - " traefik.http.middlewares.default-errors.errors.query=/{status}"
76+ - " traefik.http.middlewares.default-errors.errors.service=default-errors"
8177
8278 # default ratelimit
8379 - " traefik.http.middlewares.default-ratelimit.ratelimit.average=100"
@@ -90,6 +86,14 @@ services:
9086 # default allowlist
9187 - " traefik.http.middlewares.default-ipallowlist-RFC1918.ipallowlist.sourcerange=10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
9288
89+ # example on how to secure the traefik dashboard and api
90+ - " traefik.http.routers.dashboard.rule=Host(`${TRAEFIK_FQDN}`)"
91+ - " traefik.http.routers.dashboard.service=api@internal"
92+ - " traefik.http.routers.dashboard.middlewares=dashboard-auth"
93+ - " traefik.http.routers.dashboard.entrypoints=https"
94+ # admin / traefik, please change!
95+ - " traefik.http.middlewares.dashboard-auth.basicauth.users=admin:$2a$12$ktgZsFQZ0S1FeQbI1JjS9u36fAJMHDQaY6LNi9EkEp8sKtP5BK43C"
96+
9397 # default catch-all router
9498 - " traefik.http.routers.default.rule=HostRegexp(`.+`)"
9599 - " traefik.http.routers.default.priority=1"
@@ -105,11 +109,6 @@ services:
105109 - " traefik.http.routers.default-http.middlewares=default-http"
106110 - " traefik.http.routers.default-http.service=default-http"
107111 - " traefik.http.services.default-http.loadbalancer.passhostheader=true"
108-
109- # default errors middleware
110- - " traefik.http.middlewares.default-errors.errors.status=402-599"
111- - " traefik.http.middlewares.default-errors.errors.query=/{status}"
112- - " traefik.http.middlewares.default-errors.errors.service=default-errors"
113112 environment :
114113 TZ : " Europe/Zurich"
115114 command :
@@ -142,10 +141,9 @@ services:
142141 - " 443:443/tcp"
143142 volumes :
144143 - " var:/traefik/var"
144+ - " plugins:/traefik/plugins"
145145 # access docker socket via proxy read-only
146146 - " socket-proxy.run:/var/run"
147- # plugins stored as volume because of read-only
148- - " plugins:/plugins-storage"
149147 networks :
150148 backend :
151149 frontend :
@@ -156,7 +154,7 @@ services:
156154
157155 errors :
158156 # this image can be used to display a simple error message since Traefik can’t serve content
159- image : " 11notes/traefik:3.5.0 "
157+ image : " 11notes/traefik:errors "
160158 read_only : true
161159 labels :
162160 - " traefik.enable=true"
@@ -253,4 +251,4 @@ docker pull quay.io/11notes/traefik:3.5.0
253251# ElevenNotes™️
254252This image is provided to you at your own risk. Always make backups before updating an image to a different version. Check the [releases](https://github.com/11notes/docker-traefik/releases) for breaking changes. If you have any problems with using this image simply raise an [issue](https://github.com/11notes/docker-traefik/issues), thanks. If you have a question or inputs please create a new [discussion](https://github.com/11notes/docker-traefik/discussions) instead of an issue. You can find all my other repositories on [github](https://github.com/11notes?tab=repositories).
255253
256- *created 24 .07.2025, 22:28:18 (CET)*
254+ *created 25 .07.2025, 00:33:57 (CET)*
0 commit comments