mirror of
https://github.com/getlago/lago.git
synced 2024-12-22 21:13:24 +07:00
feat(clickhouse): Add support for clickhouse migrations (#292)
This commit is contained in:
parent
fe961faf63
commit
1aac887a11
@ -105,6 +105,7 @@ services:
|
||||
- LAGO_FROM_EMAIL=${LAGO_FROM_EMAIL:-noreply@getlago.com}
|
||||
- LAGO_SIDEKIQ_WEB=true
|
||||
- SIDEKIQ_EVENTS=true
|
||||
- LAGO_CLICKHOUSE_ENABLED=true
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.api_http.rule=Host(`api.lago.dev`)"
|
||||
@ -143,7 +144,8 @@ services:
|
||||
- LAGO_DISABLE_SEGMENT=${LAGO_DISABLE_SEGMENT:-}
|
||||
- LAGO_FROM_EMAIL=${LAGO_FROM_EMAIL:-noreply@getlago.com}
|
||||
- SIDEKIQ_EVENTS=true
|
||||
|
||||
- LAGO_CLICKHOUSE_ENABLED=true
|
||||
|
||||
api-events-worker:
|
||||
image: api
|
||||
container_name: lago_api_events_worker
|
||||
@ -170,6 +172,7 @@ services:
|
||||
- LAGO_DISABLE_SEGMENT=${LAGO_DISABLE_SEGMENT:-}
|
||||
- LAGO_FROM_EMAIL=${LAGO_FROM_EMAIL:-noreply@getlago.com}
|
||||
- SIDEKIQ_EVENTS=true
|
||||
- LAGO_CLICKHOUSE_ENABLED=true
|
||||
|
||||
api-clock:
|
||||
image: api
|
||||
@ -191,6 +194,7 @@ services:
|
||||
- ENCRYPTION_KEY_DERIVATION_SALT={ENCRYPTION_KEY_DERIVATION_SALT:-your-encrpytion-derivation-salt}
|
||||
- SEGMENT_WRITE_KEY=${SEGMENT_WRITE_KEY:-}
|
||||
- LAGO_DISABLE_SEGMENT=${LAGO_DISABLE_SEGMENT:-}
|
||||
- LAGO_CLICKHOUSE_ENABLED=true
|
||||
|
||||
pdf:
|
||||
image: getlago/lago-gotenberg:7
|
||||
@ -259,7 +263,7 @@ services:
|
||||
- "traefik.http.routers.console.entrypoints=websecure"
|
||||
- "traefik.http.routers.console.tls=true"
|
||||
- "traefik.http.services.console.loadbalancer.server.port=8080"
|
||||
|
||||
|
||||
clickhouse:
|
||||
image: clickhouse/clickhouse-server
|
||||
container_name: clickhouse
|
||||
@ -278,7 +282,7 @@ services:
|
||||
ports:
|
||||
- 9000:9000
|
||||
- 8123:8123
|
||||
|
||||
|
||||
minio:
|
||||
image: quay.io/minio/minio
|
||||
container_name: minio
|
||||
@ -294,8 +298,8 @@ services:
|
||||
- "traefik.http.routers.minio.rule=Host(`minio.lago.dev`)"
|
||||
- "traefik.http.routers.minio.entrypoints=websecure"
|
||||
- "traefik.http.routers.minio.tls=true"
|
||||
- "traefik.http.services.minio.loadbalancer.server.port=10001"
|
||||
|
||||
- "traefik.http.services.minio.loadbalancer.server.port=10001"
|
||||
|
||||
miniocreatebuckets:
|
||||
image: minio/mc
|
||||
depends_on:
|
||||
|
@ -12,6 +12,7 @@
|
||||
<default>
|
||||
<access_management>1</access_management>
|
||||
<profile>default</profile>
|
||||
<password>default</password>
|
||||
<networks>
|
||||
<ip>::/0</ip>
|
||||
</networks>
|
||||
|
Loading…
Reference in New Issue
Block a user