commit 5da562e7182bbaee6f7a4d9791513afc1fa982ec Author: t0is Date: Tue Nov 19 05:41:12 2024 +0100 init commit diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/metabase.iml b/.idea/metabase.iml new file mode 100644 index 0000000..c956989 --- /dev/null +++ b/.idea/metabase.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..1d39127 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml new file mode 100644 index 0000000..f324872 --- /dev/null +++ b/.idea/php.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..5b5f0ab --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,37 @@ +version: '3.9' + +networks: + mysql: + external: true + name: mysql + traefik: + external: true + name: traefik + +services: + metabase: + image: 'metabase/metabase:latest' + container_name: vat-metabase + networks: + traefik: {} + mysql: {} + profiles: + - all +# ports: +# - "8097:3000" + environment: + MB_DB_TYPE: mysql + MB_DB_DBNAME: metabase + # MB_DB_PORT: 3311 + MB_DB_USER: metabase + MB_DB_PASS: Xk!gWDh92*HUf4o5 + MB_DB_HOST: mysql + volumes: + - metabase:/metabase-data + labels: + traefik.enable: true + # https + 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 \ No newline at end of file