bmariadb.yml aktualisiert

This commit is contained in:
olli 2024-05-26 17:54:07 +02:00
parent e2df6a69c8
commit 351943c37d

View File

@ -159,7 +159,7 @@
labels:
- traefik.enable=true
# HTTPS
- traefik.http.routers.mariadb-{{ ansible_facts['hostname'] }}.rule=Host(`mariadb-phpmyadmin.{{ ansible_facts['nodename'] }}`)
- traefik.http.routers.mariadb-{{ ansible_facts['hostname'] }}.rule=Host(`mariadb.{{ ansible_facts['nodename'] }}`)
- traefik.http.routers.mariadb-{{ ansible_facts['hostname'] }}.entrypoints=https
- traefik.http.routers.mariadb-{{ ansible_facts['hostname'] }}.tls=true
# Proxy to service-port
@ -170,7 +170,7 @@
# Traefik network
- traefik.docker.network=traefik
# auth
- traefik.http.routers.wordpress-{{ ansible_facts['hostname'] }}--phpmyadmin.middlewares=secHeaders@file,default-basic-auth@file
- traefik.http.routers.mariadb-{{ ansible_facts['hostname'] }}--phpmyadmin.middlewares=secHeaders@file,default-basic-auth@file
networks:
mariadb.{{inventory_hostname}}--network: