mirror of
https://github.com/umami-software/umami.git
synced 2026-02-18 11:35:37 +01:00
general cleanup
This commit is contained in:
parent
5ecaf5587b
commit
8221c7844b
7 changed files with 1837 additions and 3763 deletions
|
|
@ -2,23 +2,23 @@
|
|||
version: '3'
|
||||
services:
|
||||
umami:
|
||||
image: ghcr.io/mikecao/umami:postgresql-latest
|
||||
build: .
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
DATABASE_URL: postgresql://umami:umami@db:5432/umami
|
||||
DATABASE_TYPE: postgresql
|
||||
HASH_SALT: replace-me-with-a-random-string
|
||||
DATABASE_URL: sqlite://umami:umami@db:5432/umami
|
||||
DATABASE_TYPE: sqlite
|
||||
HASH_SALT: xSSHW4A2w0e3vxLUp46XL9OzCGKvxEnA
|
||||
depends_on:
|
||||
- db
|
||||
db:
|
||||
image: postgres:12-alpine
|
||||
environment:
|
||||
POSTGRES_DB: umami
|
||||
POSTGRES_USER: umami
|
||||
POSTGRES_PASSWORD: umami
|
||||
volumes:
|
||||
- ./sql/schema.postgresql.sql:/docker-entrypoint-initdb.d/schema.postgresql.sql:ro
|
||||
- umami-db-data:/var/lib/postgresql/data
|
||||
# db:
|
||||
# image: postgres:13.3-alpine
|
||||
# environment:
|
||||
# POSTGRES_DB: umami
|
||||
# POSTGRES_USER: umami
|
||||
# POSTGRES_PASSWORD: umami
|
||||
# volumes:
|
||||
# - ./sql/schema.postgresql.sql:/docker-entrypoint-initdb.d/schema.postgresql.sql:ro
|
||||
# - umami-db-data:/var/lib/postgresql/data
|
||||
volumes:
|
||||
umami-db-data:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue