Docker container names

This commit is contained in:
2026-02-17 01:00:35 -03:00
parent c38ca7e599
commit c53ba46f47

View File

@@ -1,7 +1,8 @@
services: services:
umami: umami:
image: ghcr.io/umami-software/umami:postgresql-latest image: ghcr.io/umami-software/umami:postgresql-latest
restart: always container_name: umami
restart: unless-stopped
environment: environment:
DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB} DATABASE_URL: postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB}
APP_SECRET: ${APP_SECRET} APP_SECRET: ${APP_SECRET}
@@ -28,7 +29,8 @@ services:
db: db:
image: postgres:16-alpine image: postgres:16-alpine
restart: always container_name: umami-db
restart: unless-stopped
environment: environment:
POSTGRES_DB: ${POSTGRES_DB} POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER} POSTGRES_USER: ${POSTGRES_USER}