2021-11-23 09:34:51 +01:00
|
|
|
|
# Default to running in django DEBUG mode. For tests this should be set to 0
|
|
|
|
|
DEBUG=1
|
|
|
|
|
|
|
|
|
|
# Make psql default to local settings
|
2022-07-21 16:29:31 +02:00
|
|
|
|
PGHOST=localhost
|
2021-11-23 09:34:51 +01:00
|
|
|
|
PGUSER=posthog
|
|
|
|
|
PGPASSWORD=posthog
|
|
|
|
|
PGPORT=5432
|
|
|
|
|
PGDATABASE=posthog
|
|
|
|
|
|
|
|
|
|
# Django settings
|
|
|
|
|
|
|
|
|
|
## Update to postgres to use postgres for all event queries
|
|
|
|
|
PRIMARY_DB=clickhouse
|
|
|
|
|
DATABASE_URL=postgres://${PGUSER}:${PGPASSWORD}@${PGHOST}:${PGPORT}/${PGDATABASE}
|
2022-07-21 16:29:31 +02:00
|
|
|
|
|
|
|
|
|
# Kafka settings
|
2021-11-23 09:34:51 +01:00
|
|
|
|
KAFKA_ENABLED=true
|
2022-07-21 16:29:31 +02:00
|
|
|
|
KAFKA_HOSTS=localhost:9092
|
|
|
|
|
KAFKA_URL=kafka://localhost:9092
|
2021-11-23 09:34:51 +01:00
|
|
|
|
|
|
|
|
|
# Clickhouse settings
|
2022-07-21 16:29:31 +02:00
|
|
|
|
CLICKHOUSE_HOST=localhost
|
2021-11-23 09:34:51 +01:00
|
|
|
|
CLICKHOUSE_DATABASE=posthog_test
|
|
|
|
|
CLICKHOUSE_VERIFY=False
|
2022-03-23 16:54:38 +01:00
|
|
|
|
|
|
|
|
|
# Setup redis config
|
2022-07-21 16:29:31 +02:00
|
|
|
|
REDIS_URL=redis://localhost:6379/
|