edec0d0ca4
* feat(pairdrop): change config to support local domain * feat(paperless-ngx): change config to support local domain * feat(peppermint): change config to support local domain * feat(photoprism): change config to support local domain * feat(pihole): change config to support local domain * feat(plausible): change config to support local domain * feat(plex): change config to support local domain * feat(podfetch): change config to support local domain * feat(portainer): change config to support local domain * feat(privatebin): change config to support local domain * feat(prowlarr): change config to support local domain * feat(proxitok): change config to support local domain * feat(qbittorrent): change config to support local domain * feat(radarr): change config to support local domain * feat(readarr): change config to support local domain * feat(resilio-sync): change config to support local domain * feat(romm): change config to support local domain * feat(rss): change config to support local domain * feat(sabnzbd): change config to support local domain * feat(searxng): change config to support local domain * feat(send): change config to support local domain * feat(simplex-smp): change config to support local domain * feat(sonarr): change config to support local domain * feat(syncthing): change config to support local domain * feat(tasks-md): change config to support local domain * feat(tautulli): change config to support local domain * feat(teddit): change config to support local domain * feat(transmission): change config to support local domain * feat(tubearchivist): change config to support local domain * feat(umami): change config to support local domain * feat(uptime-kuma): change config to support local domain * feat(vaultwarden): change config to support local domain * feat(vikunja): change config to support local domain * feat(wg-easy): change config to support local domain * feat(wikijs): change config to support local domain * feat(wizarr): change config to support local domain * feat(your-spotify): change config to support local domain * chore: labels formatting issues
56 lines
2.0 KiB
YAML
56 lines
2.0 KiB
YAML
version: '3.7'
|
|
|
|
services:
|
|
umami:
|
|
container_name: umami
|
|
image: ghcr.io/umami-software/umami:postgresql-v1.40.0
|
|
ports:
|
|
- '${APP_PORT}:3000'
|
|
environment:
|
|
DATABASE_URL: postgresql://umami:${DB_PASSWORD}@umami-db:5432/umami
|
|
DATABASE_TYPE: postgresql
|
|
HASH_SALT: ${HASH_SALT}
|
|
depends_on:
|
|
- umami-db
|
|
restart: always
|
|
networks:
|
|
- tipi_main_network
|
|
labels:
|
|
# Main
|
|
traefik.enable: true
|
|
traefik.http.middlewares.umami-web-redirect.redirectscheme.scheme: https
|
|
traefik.http.services.umami.loadbalancer.server.port: 3000
|
|
# Web
|
|
traefik.http.routers.umami-insecure.rule: Host(`${APP_DOMAIN}`)
|
|
traefik.http.routers.umami-insecure.entrypoints: web
|
|
traefik.http.routers.umami-insecure.service: umami
|
|
traefik.http.routers.umami-insecure.middlewares: umami-web-redirect
|
|
# Websecure
|
|
traefik.http.routers.umami.rule: Host(`${APP_DOMAIN}`)
|
|
traefik.http.routers.umami.entrypoints: websecure
|
|
traefik.http.routers.umami.service: umami
|
|
traefik.http.routers.umami.tls.certresolver: myresolver
|
|
# Local domain
|
|
traefik.http.routers.umami-local-insecure.rule: Host(`umami.${LOCAL_DOMAIN}`)
|
|
traefik.http.routers.umami-local-insecure.entrypoints: web
|
|
traefik.http.routers.umami-local-insecure.service: umami
|
|
traefik.http.routers.umami-local-insecure.middlewares: umami-web-redirect
|
|
# Local domain secure
|
|
traefik.http.routers.umami-local.rule: Host(`umami.${LOCAL_DOMAIN}`)
|
|
traefik.http.routers.umami-local.entrypoints: websecure
|
|
traefik.http.routers.umami-local.service: umami
|
|
traefik.http.routers.umami-local.tls: true
|
|
|
|
umami-db:
|
|
container_name: umami-db
|
|
image: postgres:12-alpine
|
|
environment:
|
|
POSTGRES_DB: umami
|
|
POSTGRES_USER: umami
|
|
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/postgres:/var/lib/postgresql/data
|
|
restart: always
|
|
networks:
|
|
- tipi_main_network
|