Skip to content

Commit

Permalink
chore(propdefs): add propdefs to docker stack (#25153)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverb123 authored Sep 24, 2024
1 parent e335cf1 commit 3f640c0
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docker-compose.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions docker-compose.dev-full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3f640c0

Please sign in to comment.