1
0
mirror of https://github.com/getlago/lago.git synced 2025-01-12 15:57:24 +07:00

misc(sso): Add boxyHQ for dev

This commit is contained in:
Jeremy Denquin 2024-02-16 15:24:39 +01:00
parent 0952638799
commit c36d7c836f
2 changed files with 24 additions and 1 deletions

2
api

@ -1 +1 @@
Subproject commit 4c2e135865d4efa099bd72e7951e2e42a12f70fc
Subproject commit ff40623c0a3c1d95592efa24bb961ad299ce2d8d

View File

@ -107,6 +107,8 @@ services:
- SIDEKIQ_EVENTS=true
- LAGO_CLICKHOUSE_ENABLED=true
- LAGO_KAFKA_BOOTSTRAP_SERVERS=redpanda:9092
- LAGO_KAFKA_RAW_EVENTS_TOPIC=events-raw
- LAGO_KAFKA_CLICKHOUSE_CONSUMER_GROUP=clickhouse-consumer
labels:
- "traefik.enable=true"
- "traefik.http.routers.api_http.rule=Host(`api.lago.dev`)"
@ -147,6 +149,7 @@ services:
- SIDEKIQ_EVENTS=true
- LAGO_CLICKHOUSE_ENABLED=true
- LAGO_KAFKA_BOOTSTRAP_SERVERS=redpanda:9092
- LAGO_KAFKA_EVENTS_RAW_TOPIC=events-raw
api-events-worker:
image: api
@ -316,3 +319,23 @@ services:
/usr/bin/mc policy set public lagominio/clickhouse;
exit 0;
"
oauth:
image: boxyhq/jackson:1.18.7
ports:
- 5225:5225
environment:
DB_ENGINE: sql
DB_TYPE: postgres
DB_URL: postgres://lago:changeme@db:5432/lago
NEXTAUTH_URL: https://oauth.lago.dev
EXTERNAL_URL: https://oauth.lago.dev
NEXTAUTH_SECRET: secret
NEXTAUTH_ADMIN_CREDENTIALS: oauth@getlago.com:sso
JACKSON_API_KEYS: secret
labels:
- "traefik.enable=true"
- "traefik.http.routers.oauth.rule=Host(`oauth.lago.dev`)"
- "traefik.http.routers.oauth.entrypoints=websecure"
- "traefik.http.routers.oauth.tls=true"
- "traefik.http.services.oauth.loadbalancer.server.port=5225"