mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 09:14:46 +01:00
d7998cef30
This reverts commit 225a41db72
.
26 lines
613 B
Bash
26 lines
613 B
Bash
# Default to running in django DEBUG mode. For tests this should be set to 0
|
||
DEBUG=1
|
||
|
||
# Make psql default to local settings
|
||
PGHOST=db
|
||
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}
|
||
KAFKA_ENABLED=true
|
||
KAFKA_HOSTS=kafka:9092
|
||
REDIS_URL=redis://redis:6379
|
||
|
||
# Clickhouse settings
|
||
CLICKHOUSE_HOST=clickhouse
|
||
CLICKHOUSE_DATABASE=posthog_test
|
||
CLICKHOUSE_VERIFY=False
|
||
|
||
# Setup redis config
|
||
REDIS_URL=redis://redis:6379/ |