mirror of
https://github.com/getlago/lago.git
synced 2025-01-13 00:04:58 +07:00
misc(sso): Add boxyHQ for dev
This commit is contained in:
parent
0952638799
commit
c36d7c836f
2
api
2
api
@ -1 +1 @@
|
|||||||
Subproject commit 4c2e135865d4efa099bd72e7951e2e42a12f70fc
|
Subproject commit ff40623c0a3c1d95592efa24bb961ad299ce2d8d
|
@ -107,6 +107,8 @@ services:
|
|||||||
- SIDEKIQ_EVENTS=true
|
- SIDEKIQ_EVENTS=true
|
||||||
- LAGO_CLICKHOUSE_ENABLED=true
|
- LAGO_CLICKHOUSE_ENABLED=true
|
||||||
- LAGO_KAFKA_BOOTSTRAP_SERVERS=redpanda:9092
|
- LAGO_KAFKA_BOOTSTRAP_SERVERS=redpanda:9092
|
||||||
|
- LAGO_KAFKA_RAW_EVENTS_TOPIC=events-raw
|
||||||
|
- LAGO_KAFKA_CLICKHOUSE_CONSUMER_GROUP=clickhouse-consumer
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.api_http.rule=Host(`api.lago.dev`)"
|
- "traefik.http.routers.api_http.rule=Host(`api.lago.dev`)"
|
||||||
@ -147,6 +149,7 @@ services:
|
|||||||
- SIDEKIQ_EVENTS=true
|
- SIDEKIQ_EVENTS=true
|
||||||
- LAGO_CLICKHOUSE_ENABLED=true
|
- LAGO_CLICKHOUSE_ENABLED=true
|
||||||
- LAGO_KAFKA_BOOTSTRAP_SERVERS=redpanda:9092
|
- LAGO_KAFKA_BOOTSTRAP_SERVERS=redpanda:9092
|
||||||
|
- LAGO_KAFKA_EVENTS_RAW_TOPIC=events-raw
|
||||||
|
|
||||||
api-events-worker:
|
api-events-worker:
|
||||||
image: api
|
image: api
|
||||||
@ -316,3 +319,23 @@ services:
|
|||||||
/usr/bin/mc policy set public lagominio/clickhouse;
|
/usr/bin/mc policy set public lagominio/clickhouse;
|
||||||
exit 0;
|
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"
|
Loading…
Reference in New Issue
Block a user