0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-21 13:39:22 +01:00

chore(propdefs): add propdefs to docker stack (#25153)

This commit is contained in:
Oliver Browne 2024-09-24 21:32:07 +03:00 committed by GitHub
parent e335cf1a0c
commit 3f640c02c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 28 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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