mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-22 08:40:03 +01:00
11ede28a08
As-is this default hurts local dev - one more setting you need to export. Let's keep the setup simple instead. Also the new default would have broken helm chart and production when updating with new migrations - the cluster name there is `posthog` for both it seems. Let's force other deploys to be explicit instead.
32 lines
852 B
YAML
32 lines
852 B
YAML
version: '3'
|
|
|
|
services:
|
|
test:
|
|
build:
|
|
context: ../
|
|
dockerfile: dev.Dockerfile
|
|
command: ./ee/bin/docker-ch-test
|
|
volumes:
|
|
- ..:/code
|
|
environment:
|
|
DATABASE_URL: 'postgres://posthog:posthog@db:5432/posthog'
|
|
CLICKHOUSE_HOST: 'clickhouse'
|
|
CLICKHOUSE_SECURE: 'false'
|
|
CLICKHOUSE_VERIFY: 'false'
|
|
KAFKA_URL: 'kafka://kafka'
|
|
REDIS_URL: 'redis://redis:6379/'
|
|
SECRET_KEY: 'alsdfjiosdajfklalsdjkf'
|
|
DEBUG: 'true'
|
|
PRIMARY_DB: 'clickhouse'
|
|
TEST: 'true'
|
|
depends_on:
|
|
- db
|
|
- redis
|
|
- clickhouse
|
|
- kafka
|
|
links:
|
|
- db:db
|
|
- redis:redis
|
|
- clickhouse:clickhouse
|
|
- kafka:kafka
|