diff --git a/clickhouse/plausible-config.xml b/clickhouse/plausible-config.xml new file mode 100644 index 0000000..81961af --- /dev/null +++ b/clickhouse/plausible-config.xml @@ -0,0 +1,13 @@ + + + warning + true + + + warning + + + warning + + + diff --git a/clickhouse/users-config.xml b/clickhouse/users-config.xml new file mode 100644 index 0000000..07eb8e2 --- /dev/null +++ b/clickhouse/users-config.xml @@ -0,0 +1,8 @@ + + + + 0 + 0 + + + diff --git a/docker-compose.yml b/docker-compose.yml index c0d2908..2105f51 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,6 +17,8 @@ services: image: yandex/clickhouse-server:latest volumes: - event-data:/var/lib/clickhouse + - ./clickhouse/plausible-config.xml:/etc/clickhouse-server/config.d/plausible-config.xml + - ./clickhouse/users-config.xml:/etc/clickhouse-server/users.xml ulimits: nofile: soft: 262144 diff --git a/plausible-conf.env b/plausible-conf.env index 7c8d24d..2f8e178 100644 --- a/plausible-conf.env +++ b/plausible-conf.env @@ -1,4 +1,5 @@ ADMIN_USER_EMAIL={replace-me} ADMIN_USER_NAME={replace-me} ADMIN_USER_PWD={replace-me} +BASE_URL={replace-me} SECRET_KEY_BASE={replace-me}