Add Nango secret key to docker compose files

This commit is contained in:
Ivan Novosad 2024-04-22 13:41:28 +02:00
parent 2825b309ad
commit cde40457df
2 changed files with 10 additions and 0 deletions

View File

@ -71,6 +71,7 @@ services:
- APP_DOMAIN=https://app.lago.dev
- CODEGEN_API=https://api.lago.dev:3000
- LAGO_DISABLE_SIGNUP=${LAGO_DISABLE_SIGNUP:-}
- NANGO_SECRET_KEY=${NANGO_SECRET_KEY}
labels:
- "traefik.enable=true"
- "traefik.http.routers.app.rule=Host(`app.lago.dev`)"
@ -113,6 +114,7 @@ services:
- LAGO_KAFKA_BOOTSTRAP_SERVERS=redpanda:9092
- LAGO_KAFKA_RAW_EVENTS_TOPIC=events-raw
- LAGO_KAFKA_CLICKHOUSE_CONSUMER_GROUP=clickhouse
- NANGO_SECRET_KEY=${NANGO_SECRET_KEY}
labels:
- "traefik.enable=true"
- "traefik.http.routers.api_http.rule=Host(`api.lago.dev`)"
@ -157,6 +159,7 @@ services:
- LAGO_KAFKA_BOOTSTRAP_SERVERS=redpanda:9092
- LAGO_KAFKA_RAW_EVENTS_TOPIC=events-raw
- LAGO_KAFKA_CLICKHOUSE_CONSUMER_GROUP=clickhouse
- NANGO_SECRET_KEY=${NANGO_SECRET_KEY}
api-events-worker:
image: api
@ -190,6 +193,7 @@ services:
- LAGO_KAFKA_BOOTSTRAP_SERVERS=redpanda:9092
- LAGO_KAFKA_RAW_EVENTS_TOPIC=events-raw
- LAGO_KAFKA_CLICKHOUSE_CONSUMER_GROUP=clickhouse
- NANGO_SECRET_KEY=${NANGO_SECRET_KEY}
api-clock:
image: api
@ -217,6 +221,7 @@ services:
- LAGO_KAFKA_BOOTSTRAP_SERVERS=redpanda:9092
- LAGO_KAFKA_RAW_EVENTS_TOPIC=events-raw
- LAGO_KAFKA_CLICKHOUSE_CONSUMER_GROUP=clickhouse
- NANGO_SECRET_KEY=${NANGO_SECRET_KEY}
pdf:
image: getlago/lago-gotenberg:7

View File

@ -77,6 +77,7 @@ services:
- LAGO_DISABLE_SEGMENT=${LAGO_DISABLE_SEGMENT}
- LAGO_OAUTH_PROXY_URL=https://proxy.getlago.com
- LAGO_LICENSE=${LAGO_LICENSE:-}
- NANGO_SECRET_KEY=${NANGO_SECRET_KEY}
# - SIDEKIQ_EVENTS=true
volumes:
- lago_storage_data:/app/storage
@ -101,6 +102,7 @@ services:
- LAGO_DISABLE_SIGNUP=${LAGO_DISABLE_SIGNUP:-false}
- LAGO_OAUTH_PROXY_URL=https://proxy.getlago.com
- SENTRY_DSN=${SENTRY_DSN_FRONT}
- NANGO_SECRET_KEY=${NANGO_SECRET_KEY}
ports:
- ${FRONT_PORT:-80}:80
# - 443:443
@ -162,6 +164,7 @@ services:
- LAGO_REDIS_CACHE_URL=redis://${LAGO_REDIS_CACHE_HOST:-redis}:${LAGO_REDIS_CACHE_PORT:-6379}
- LAGO_REDIS_CACHE_PASSWORD=${LAGO_REDIS_CACHE_PASSWORD}
- LAGO_DISABLE_SEGMENT=${LAGO_DISABLE_SEGMENT}
- NANGO_SECRET_KEY=${NANGO_SECRET_KEY}
# - SIDEKIQ_EVENTS=true
volumes:
- lago_storage_data:/app/storage
@ -204,6 +207,7 @@ services:
# - LAGO_REDIS_CACHE_URL=redis://${LAGO_REDIS_CACHE_HOST:-redis}:${LAGO_REDIS_CACHE_PORT:-6379}
# - LAGO_REDIS_CACHE_PASSWORD=${LAGO_REDIS_CACHE_PASSWORD}
# - LAGO_DISABLE_SEGMENT=${LAGO_DISABLE_SEGMENT}
# - NANGO_SECRET_KEY=${NANGO_SECRET_KEY}
# - SIDEKIQ_EVENTS=true
api-clock:
@ -228,6 +232,7 @@ services:
- ENCRYPTION_PRIMARY_KEY=${LAGO_ENCRYPTION_PRIMARY_KEY:-your-encryption-primary-key}
- ENCRYPTION_DETERMINISTIC_KEY=${LAGO_ENCRYPTION_DETERMINISTIC_KEY:-your-encryption-deterministic-key}
- ENCRYPTION_KEY_DERIVATION_SALT=${LAGO_ENCRYPTION_KEY_DERIVATION_SALT:-your-encryption-derivation-salt}
- NANGO_SECRET_KEY=${NANGO_SECRET_KEY}
pdf:
image: getlago/lago-gotenberg:7.8.2