refactor: apply traefik-wide security-headers on websecure entrypoint, minor comment and description changes

This commit is contained in:
forust committed 2026-01-26 08:54:10 +01:00
1 parent d58ae2a5e7
commit 146f63a39b
16 files changed
+25 -101

No files matched your search

+2 -5
View File
@@ -8,7 +8,7 @@ services:
- data:/data
ports:
- 9443:9443
# - 8000:8000 # Remove if you do not intend to use Edge Agents
# - 9077:8000 # Remove if you do not intend to use Edge Agents
labels:
- "traefik.enable=true"
- "traefik.docker.network=proxy"
@@ -19,23 +19,20 @@ services:
# Prod Router
- "traefik.http.routers.portainer.rule=Host(`portainer.forust.xyz`)"
- "traefik.http.routers.portainer.entrypoints=websecure"
- "traefik.http.routers.portainer.middlewares=security-headers@file"
- "traefik.http.routers.portainer.tls=true"
# Local Router
- "traefik.http.routers.portainer-local.rule=Host(`portainer.workstation.internal`)"
- "traefik.http.routers.portainer-local.entrypoints=websecure"
- "traefik.http.routers.portainer-local.middlewares=security-headers@file"
- "traefik.http.routers.portainer-local.tls=true"
# Dev Router
- "traefik.http.routers.portainer-dev.rule=Host(`portainer.gigaforust.internal`)"
- "traefik.http.routers.portainer-dev.entrypoints=websecure"
- "traefik.http.routers.portainer-dev.middlewares=security-headers@file"
- "traefik.http.routers.portainer-dev.tls=true"
# Glance Metadata
- glance.name=Portainer
- glance.url=https://portainer.forust.xyz/
- glance.description=Portainer is a lightweight management UI which allows you to easily manage your Docker environments.
- glance.description=Portainer is a docker management UI.
networks:
- proxy
volumes: