0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 09:14:46 +01:00
posthog/ee/docker-compose.ch.test.yml
Karl-Aksel Puulmann 11ede28a08
Default to "posthog" cluster (#5164)
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.
2021-07-16 17:04:15 +03:00

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