# documentation: https://umami.is # slogan: Umami is web analytics platform which provides insights into visitor behavior without compromising user privacy. # tags: analytics, insights, privacy # logo: svgs/umami.svg # port: 3000 services: umami: image: ghcr.io/umami-software/umami:postgresql-latest environment: - SERVICE_FQDN_UMAMI_3000 - DATABASE_URL=postgres://$SERVICE_USER_POSTGRES:$SERVICE_PASSWORD_POSTGRES@postgresql:5432/$POSTGRES_DB - DATABASE_TYPE=postgres - APP_SECRET=$SERVICE_PASSWORD_64_UMAMI depends_on: postgresql: condition: service_healthy healthcheck: test: ["CMD", "curl", "-f", "http://127.0.0.1:3000/api/heartbeat"] interval: 5s timeout: 20s retries: 10 postgresql: image: postgres:16-alpine volumes: - postgresql-data:/var/lib/postgresql/data environment: - POSTGRES_USER=$SERVICE_USER_POSTGRES - POSTGRES_PASSWORD=$SERVICE_PASSWORD_POSTGRES - POSTGRES_DB=${POSTGRES_DB:-umami} healthcheck: test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"] interval: 5s timeout: 20s retries: 10