umbrel-apps/umami/docker-compose.yml
2024-09-03 11:59:54 +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.2@sha256:611cacc80f53fe289f7e7bfe301032a117fb57e790c37272ee05f3b0eba690a3
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