This repository has been archived on 2025-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
Files
jupiter-compose/umami/docker-compose.yml

34 lines
904 B
YAML

version: '3.9'
services:
umami:
image: ghcr.io/mikecao/umami:postgresql-latest
restart: unless-stopped
environment:
DATABASE_URL: postgresql://umami:umami@db:5432/umami
DATABASE_TYPE: postgresql
HASH_SALT: ${SALT}
TRACKER_SCRIPT_NAME: u
depends_on:
- db
networks:
- default
- routing
db:
image: postgres:13.4
restart: unless-stopped
environment:
POSTGRES_DB: umami
POSTGRES_USER: umami
POSTGRES_PASSWORD: umami
volumes:
- '/home/nick/configs/umami/schema.postgresql.sql:/docker-entrypoint-initdb.d/schema.postgresql.sql:ro'
- '/home/nick/configs/umami/data:/var/lib/postgresql/data'
user: '1000:1000'
networks:
routing:
external: true
name: routing