Implemented new matomo setup

This commit is contained in:
2025-07-13 12:57:46 +02:00
parent 4e3c124f55
commit a18e888044
24 changed files with 168 additions and 31 deletions

View File

@@ -1,6 +1,7 @@
hostname: "svc-db-postgres"
network: "svc-db-postgres"
network: "<< defaults_applications[svc-db-postgres].hostname >>"
port: 5432
volume: "<< defaults_applications[svc-db-postgres].hostname >>"
docker:
images:
# Postgis is necessary for mobilizon

View File

@@ -19,7 +19,7 @@
published_ports:
- "127.0.0.1:{{ applications[application_id].port }}:5432"
volumes:
- postgres_database:/var/lib/postgresql/data
- "{{ applications['svc-db-postgres'].volume }}:/var/lib/postgresql/data"
restart_policy: "{{ docker_restart_policy }}"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]