This commit is contained in:
t0is 2025-06-04 09:36:40 +02:00
parent 6b2b995503
commit 8b136dee23

View File

@ -1,12 +1,9 @@
version: '3.9'
networks:
mysql:
external: true
name: mysql
traefik:
external: true
name: traefik
name: mariadb
volumes:
metabase:
@ -15,19 +12,15 @@ services:
image: 'metabase/metabase:latest'
container_name: vat-metabase
networks:
- traefik
- mysql
- mariadb
ports:
- "8097:3000"
environment:
MB_DB_TYPE: mysql
MB_DB_DBNAME: metabase
MB_DB_USER: metabase
MB_DB_PASS: Xk!gWDh92*HUf4o5
MB_DB_HOST: mysql
MB_DB_HOST: mariadb
volumes:
- metabase:/metabase-data
labels:
traefik.enable: true
traefik.http.routers.statistiky.entrypoints: https
traefik.http.routers.statistiky.rule: Host(`statistiky.dalkove-ovladace.cz`)
traefik.http.routers.statistiky.service: statistiky
traefik.http.routers.statistiky.tls.certresolver: mytlschallenge