Feat: Enable Poshog and Sentry for OSS (#23)

feat: enable posthog and sentry for oss
This commit is contained in:
Abhishek 2025-10-04 12:23:20 +05:30 committed by GitHub
parent 8e2e5c9327
commit 90f7aac8ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 118 additions and 59 deletions

View file

@ -59,7 +59,7 @@ services:
- app-network
api:
image: ${REGISTRY:-dograhai}/dograh-api:latest
image: ${REGISTRY:-dograhai}/dograh-api:latest
volumes:
- shared-tmp:/tmp
environment:
@ -169,22 +169,18 @@ services:
ui:
image: ${REGISTRY:-dograhai}/dograh-ui:latest
environment:
NEXT_PUBLIC_NODE_ENV: "local"
NEXT_PUBLIC_AUTH_PROVIDER: "local"
# Client-side URL (from browser)
NEXT_PUBLIC_BACKEND_URL: "http://localhost:8000"
# Server-side URL (SSR, internal Docker network)
BACKEND_URL: "http://api:8000"
# Controls some feature flags like voicemail detection
NEXT_PUBLIC_DEPLOYMENT_MODE: "oss"
NODE_ENV: "oss"
# Posthog
NEXT_PUBLIC_ENABLE_POSTHOG: "true"
NEXT_PUBLIC_POSTHOG_KEY: "phc_st6dverimoydkpM5m0a9aeAr8znUYWznEaQa8v80E2D"
ENABLE_POSTHOG: "${ENABLE_POSTHOG:-true}"
POSTHOG_KEY: "phc_ItizB1dP6yv7ZYobbcqrpxTdbomDA8hJFSEmAMdYvIr"
POSTHOG_HOST: "https://us.posthog.com"
# Sentry
NEXT_PUBLIC_ENABLE_SENTRY: "false"
ENABLE_SENTRY: "${ENABLE_SENTRY:-true}"
SENTRY_DSN: "https://d9387fed5f80e90781f1dbd9b2c0994c@o4509486225096704.ingest.us.sentry.io/4510124708200448"
ports:
- "3010:3000"
depends_on: