refactor: update authentik configuration and convert core_net dashboard template to static file
ansible-core-net / deploy (push) Successful in 25s
ansible-core-net / deploy (push) Successful in 25s
This commit is contained in:
1 parent
a243ae281c
commit
341538fba9
7 files changed
+40
-79
No files matched your search
@@ -0,0 +1,11 @@
|
||||
http:
|
||||
routers:
|
||||
traefik-dashboard:
|
||||
rule: "Host(`proxy.gunihome.ru`)"
|
||||
entryPoints:
|
||||
- websecure
|
||||
service: api@internal
|
||||
middlewares:
|
||||
- authentik@file
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
@@ -80,7 +80,7 @@
|
||||
state: absent
|
||||
loop: "{{ remote_dynamic_files.files }}"
|
||||
vars:
|
||||
repo_files: "{{ (q('fileglob', role_path ~ '/files/dynamic/*.yml') | map('basename') | list) + ['dashboard.yml'] }}"
|
||||
repo_files: "{{ q('fileglob', role_path ~ '/files/dynamic/*.yml') | map('basename') | list }}"
|
||||
when: item.path | basename not in repo_files
|
||||
|
||||
- name: Запустить Traefik через Docker Compose
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
http:
|
||||
routers:
|
||||
traefik-dashboard:
|
||||
rule: "Host(`proxy.gunihome.ru`)"
|
||||
priority: 1
|
||||
entryPoints:
|
||||
- websecure
|
||||
service: api@internal
|
||||
middlewares:
|
||||
- authentik@file
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
traefik-dashboard-outpost:
|
||||
rule: "Host(`proxy.gunihome.ru`) && PathPrefix(`/outpost.goauthentik.io`)"
|
||||
priority: 100
|
||||
entryPoints:
|
||||
- websecure
|
||||
service: authentik@file
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
Reference in new issue
Block a user