traefik/traefik.yaml hinzugefügt
This commit is contained in:
27
traefik/traefik.yaml
Normal file
27
traefik/traefik.yaml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
name: traefik
|
||||||
|
services:
|
||||||
|
proxy:
|
||||||
|
image: ghcr.io/traefik/traefik:3.6.7
|
||||||
|
ports:
|
||||||
|
- 80:80
|
||||||
|
- 443:443
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
- /srv/traefik/traefik.yaml:/etc/traefik/traefik.yaml:ro
|
||||||
|
- /srv/traefik/config:/etc/traefik/config
|
||||||
|
- /srv/traefik/certs:/etc/traefik/certs
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
restart: unless-stopped
|
||||||
|
labels:
|
||||||
|
- traefik.enable=true
|
||||||
|
- traefik.http.routers.traefik.rule=Host(`traefik.rasbpi.de`)
|
||||||
|
- traefik.http.routers.traefik.entrypoints=websecure
|
||||||
|
- traefik.http.routers.traefik.tls=true
|
||||||
|
- traefik.http.routers.traefik.service=api@internal
|
||||||
|
- traefik.http.routers.traefik.middlewares=traefikAuth
|
||||||
|
- traefik.http.middlewares.traefikAuth.basicauth.users=admin:$$apr1$$09znghpy$$4hWNl4W.3GfRdtVYN8goE1
|
||||||
Reference in New Issue
Block a user