From 0b0db21615e3c54dfd762cfbe2c533b9a4c8c390 Mon Sep 17 00:00:00 2001 From: T Van Doren <89363871+tvd0x2a@users.noreply.github.com> Date: Tue, 19 Sep 2023 16:47:03 -0700 Subject: [PATCH] Add ECTO_CH_IPV6 to self-hosting-configuration.md Seems to be required for things to work on fly.io in v2.0. --- docs/self-hosting-configuration.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/self-hosting-configuration.md b/docs/self-hosting-configuration.md index e77e7a44..2963cf09 100644 --- a/docs/self-hosting-configuration.md +++ b/docs/self-hosting-configuration.md @@ -42,6 +42,7 @@ Plausible uses [PostgreSQL](https://www.tutorialspoint.com/postgresql/postgresql | DATABASE_SOCKET_DIR | -- | Directory where a UNIX socket of postgresql is available. Mutually exclusive with `DATABASE_URL`, can only be used with `DATABASE_NAME` | | DATABASE_NAME | -- | Name of the database in PostgreSQL to use. Only applicable in conjunction with `DATABASE_SOCKET_DIR` | | ECTO_IPV6 | -- | When defined, enables ipv6 for the PostgreSQL connection. [Applicable](https://github.com/plausible/analytics/pull/1661) for hosting on fly.io. | +| ECTO_CH_IPV6 | -- | When defined, enables ipv6 for the Clickhouse connection. [Applicable](https://github.com/plausible/analytics/pull/1661) for hosting on fly.io. | | CLICKHOUSE_DATABASE_URL | http://plausible_events_db:8123/plausible_events_db | Connection string for Clickhouse in the same format, i.e. for docker-compose setup http://ip.or.domain.to.server:8123/plausible_events_db | | CLICKHOUSE_FLUSH_INTERVAL_MS | 5000 | Interval (in milliseconds) between flushing events and sessions data to Clickhouse. Consult [Clickhouse docs](https://clickhouse.tech/docs/en/introduction/performance/#performance-when-inserting-data) before changing it. | | CLICKHOUSE_MAX_BUFFER_SIZE | 10000 | Maximum size of the buffer of events or sessions. Consult [Clickhouse docs](https://clickhouse.tech/docs/en/introduction/performance/#performance-when-inserting-data) before changing it. |