2022-09-15 17:54:55 +03:00
|
|
|
[services.umami]
|
|
|
|
image = "docker.umami.is/umami-software/umami:postgresql-latest"
|
|
|
|
container_name = "umami"
|
|
|
|
restart = "unless-stopped"
|
|
|
|
networks = ["postgres", "proxy"]
|
|
|
|
env_file = ".env"
|
|
|
|
labels = [
|
|
|
|
"traefik.enable=true",
|
|
|
|
"traefik.docker.network=proxy",
|
|
|
|
"traefik.http.routers.umami-redirect.entrypoints=http",
|
|
|
|
"traefik.http.routers.umami-redirect.rule=Host(`umami.korhonen.cc`)",
|
|
|
|
"traefik.http.routers.umami-redirect.middlewares=http2https@file",
|
|
|
|
"traefik.http.routers.umami.entrypoints=https",
|
|
|
|
"traefik.http.routers.umami.middlewares=secHeaders@file,compress@file",
|
|
|
|
"traefik.http.routers.umami.rule=Host(`umami.korhonen.cc`)",
|
|
|
|
"traefik.http.routers.umami.service=umami",
|
|
|
|
"traefik.http.services.umami.loadbalancer.server.port=3000",
|
|
|
|
]
|
|
|
|
|
2022-09-15 19:37:16 +03:00
|
|
|
[services.umami.environment]
|
|
|
|
DATABASE_URL = "postgresql://umami:${POSTGRES_PASS}@postgres:5432/umami"
|
|
|
|
HASH_SALT = "${HASH_SALT}"
|
2022-09-15 19:39:53 +03:00
|
|
|
TRACKER_SCRIPT_NAME = "ua9quuaW"
|
2022-09-15 19:37:16 +03:00
|
|
|
|
2022-09-15 17:54:55 +03:00
|
|
|
[services.umami.logging.options]
|
|
|
|
max-size = "10m"
|
|
|
|
max-file = "10"
|
|
|
|
|
|
|
|
[networks.postgres]
|
|
|
|
external = true
|
|
|
|
|
|
|
|
[networks.proxy]
|
|
|
|
external = true
|