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.

41 lines
745 B

version: "3"
services:
umami:
image: ghcr.io/mikecao/umami:postgresql-latest
container_name: umami
restart: always
env_file:
- ../stack.env
depends_on:
- umami_db
ports:
- "${UMAMI_PORT}:3000"
networks:
- caddy-network
- umami-network
umami_db:
image: postgres:12-alpine
container_name: umami_db
restart: always
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
networks:
- umami-network
volumes:
umami-db-data:
networks:
caddy-network:
external: true
name: caddy-network
umami-network: