anubis config pour paheko
This commit is contained in:
1 parent
d60462ea0d
commit
17f4905d90
2 files changed
+19
No files matched your search
@@ -23,6 +23,7 @@ services:
|
|||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.frontend.rule=HostRegexp:{host:[a-zA-Z0-9_-]+-${pahekoHost}}.${domain}"
|
- "traefik.frontend.rule=HostRegexp:{host:[a-zA-Z0-9_-]+-${pahekoHost}}.${domain}"
|
||||||
- "traefik.http.routers.${pahekoServName}.rule=HostRegexp(`{host:[a-zA-Z0-9_-]+-${pahekoHost}}.${domain}`)"
|
- "traefik.http.routers.${pahekoServName}.rule=HostRegexp(`{host:[a-zA-Z0-9_-]+-${pahekoHost}}.${domain}`)"
|
||||||
|
- "traefik.http.routers.kaz.middlewares=anubis@docker"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
assoUsers:
|
assoUsers:
|
||||||
|
|||||||
@@ -1,4 +1,21 @@
|
|||||||
services:
|
services:
|
||||||
|
anubis:
|
||||||
|
image: ghcr.io/techarohq/anubis:latest
|
||||||
|
environment:
|
||||||
|
- BIND=:8080
|
||||||
|
- "TARGET= "
|
||||||
|
- PUBLIC_URL=https://anubis.kaz.bzh
|
||||||
|
- COOKIE_DYNAMIC_DOMAIN=true
|
||||||
|
- DIFFICULTY=4
|
||||||
|
networks:
|
||||||
|
- traefikNet
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.docker.network=traefikNet"
|
||||||
|
- "traefik.http.routers.anubis.rule=Host(`anubis.kaz.bzh`)"
|
||||||
|
- "traefik.http.services.anubis.loadbalancer.server.port=8080"
|
||||||
|
- "traefik.http.routers.anubis.service=anubis"
|
||||||
|
|
||||||
reverse-proxy:
|
reverse-proxy:
|
||||||
image: traefik:v3.8.0
|
image: traefik:v3.8.0
|
||||||
container_name: ${traefikServName}
|
container_name: ${traefikServName}
|
||||||
@@ -47,6 +64,7 @@ services:
|
|||||||
- "traefik.http.routers.traefik_https.service=api@internal"
|
- "traefik.http.routers.traefik_https.service=api@internal"
|
||||||
- "traefik.http.routers.traefik_https.middlewares=test-adminipallowlist@file,traefik-auth"
|
- "traefik.http.routers.traefik_https.middlewares=test-adminipallowlist@file,traefik-auth"
|
||||||
- "traefik.http.middlewares.traefik-auth.basicauth.usersfile=/etc/traefik/passfile"
|
- "traefik.http.middlewares.traefik-auth.basicauth.usersfile=/etc/traefik/passfile"
|
||||||
|
- "traefik.http.middlewares.anubis.forwardauth.address=http://anubis:8080/.within.website/x/cmd/anubis/api/check"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
- traefikNet
|
- traefikNet
|
||||||
|
|||||||
Reference in new issue
Block a user