Skip to content

Instantly share code, notes, and snippets.

@eryabyshev
Created November 17, 2025 20:23
Show Gist options
  • Select an option

  • Save eryabyshev/ea25faa285820d0856a1e1c2a7edb8e3 to your computer and use it in GitHub Desktop.

Select an option

Save eryabyshev/ea25faa285820d0856a1e1c2a7edb8e3 to your computer and use it in GitHub Desktop.
Umami + PostgreSQL
version: '3.8'
services:
postgres:
image: postgres:15
container_name: umami_postgres
restart: always
environment:
POSTGRES_USER: umami
POSTGRES_PASSWORD: umami_password
POSTGRES_DB: umami
volumes:
- postgres_data:/var/lib/postgresql/data
umami:
image: ghcr.io/umami-software/umami:latest
container_name: umami
restart: always
depends_on:
- postgres
environment:
DATABASE_URL: postgresql://umami:umami_password@postgres:5432/umami
DATABASE_TYPE: postgresql
HASH_SALT: your-random-hash
ports:
- "3000:3000"
volumes:
postgres_data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment