You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
514 B
24 lines
514 B
2 years ago
|
version: "3"
|
||
|
|
||
|
services:
|
||
|
umami:
|
||
|
image: ghcr.io/mikecao/umami:postgresql-latest
|
||
|
ports:
|
||
|
- "127.0.0.1:${UMAMI_PORT}:3000"
|
||
|
env_file:
|
||
|
- ../stack.env
|
||
|
depends_on:
|
||
|
- umami_db
|
||
|
restart: always
|
||
|
umami_db:
|
||
|
image: postgres:12-alpine
|
||
|
env_file:
|
||
|
- ../stack.env
|
||
|
volumes:
|
||
|
- /containers/umami/schema.postgresql.sql:/docker-entrypoint-initdb.d/schema.postgresql.sql:ro
|
||
|
- /containers/umami/db:/var/lib/postgresql/data
|
||
|
restart: always
|
||
|
|
||
|
volumes:
|
||
|
umami-db-data:
|