umbrel-apps/umami/docker-compose.yml
2024-08-27 12:29:11 +10:00

31 lines
841 B
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: umami_app_1
APP_PORT: 3000
PROXY_AUTH_ADD: "false"
app:
image: ghcr.io/umami-software/umami:postgresql-v2.13.1@sha256:f7430c8cf62c7b0699c6836017dc68df535676e9ce2071a008b87bbf30c3f4cb
user: "1000:1000"
restart: on-failure
stop_grace_period: 1m
environment:
DATABASE_URL: postgresql://umami:umami@db:5432/umami
DATABASE_TYPE: postgresql
APP_SECRET: ${APP_SEED}
depends_on:
- db
db:
image: postgres:15-alpine@sha256:8a8d55343d6fc456cb183453e3094ff140b984157b36b48f817dd581654f2aec
restart: on-failure
stop_grace_period: 1m
environment:
POSTGRES_DB: umami
POSTGRES_USER: umami
POSTGRES_PASSWORD: umami
volumes:
- ${APP_DATA_DIR}/data/db:/var/lib/postgresql/data