diff --git a/docker-compose.base.yml b/docker-compose.base.yml index 3900cbc2d48..4b17a359775 100644 --- a/docker-compose.base.yml +++ b/docker-compose.base.yml @@ -181,6 +181,20 @@ services: REDIS_URL: 'redis://redis:6379/' CAPTURE_MODE: recordings + property-defs-rs: + image: ghcr.io/posthog/posthog/property-defs-rs:master + build: + context: rust/ + args: + BIN: property-defs-rs + restart: on-failure + environment: + DATABASE_URL: 'postgres://posthog:posthog@db:5432/posthog' + KAFKA_HOSTS: 'kafka:9092' + SKIP_WRITES: 'false' + SKIP_READS: 'false' + FILTER_MODE: 'opt-out' + plugins: command: ./bin/plugin-server --no-restart-loop restart: on-failure diff --git a/docker-compose.dev-full.yml b/docker-compose.dev-full.yml index 606d5f6a3bc..7a91c4b6324 100644 --- a/docker-compose.dev-full.yml +++ b/docker-compose.dev-full.yml @@ -143,6 +143,13 @@ services: - redis - kafka + property-defs-rs: + extends: + file: docker-compose.base.yml + service: property-defs-rs + depends_on: + - kafka + plugins: extends: file: docker-compose.base.yml diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index e9d698c2d35..6eaa159d3ff 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -145,6 +145,13 @@ services: - redis - kafka + property-defs-rs: + extends: + file: docker-compose.base.yml + service: property-defs-rs + depends_on: + - kafka + livestream: extends: file: docker-compose.base.yml