Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Lightdash #1028

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 92 additions & 0 deletions public/v4/apps/lightdash.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
captainVersion: 4
version: '3.8'
services:
$$cap_appname:
image: lightdash/lightdash:$$cap_app_version
depends_on:
- $$cap_appname-db
environment:
PGHOST: srv-captain--$$cap_appname-db
PGPORT: 5432
PGUSER: lightdash
PGPASSWORD: $$cap_db_pass
PGDATABASE: lightdash
SECURE_COOKIES: false
TRUST_PROXY: false
LIGHTDASH_SECRET: $$cap_gen_random_hex(16)
PORT: 8080
LIGHTDASH_LOG_LEVEL: info
LIGHTDASH_INSTALL_ID:
LIGHTDASH_INSTALL_TYPE: docker_image
AUTH_DISABLE_PASSWORD_AUTHENTICATION: false
AUTH_GOOGLE_ENABLED: false
AUTH_GOOGLE_OAUTH2_CLIENT_ID:
AUTH_GOOGLE_OAUTH2_CLIENT_SECRET:
SITE_URL: http://$$cap_appname.$$cap_root_domain
EMAIL_SMTP_HOST: smtp.mailtrap.io
EMAIL_SMTP_PORT: 2525
EMAIL_SMTP_SECURE: true
EMAIL_SMTP_USER:
EMAIL_SMTP_PASSWORD:
EMAIL_SMTP_ALLOW_INVALID_CERT: false
EMAIL_SMTP_SENDER_NAME: Lightdash
EMAIL_SMTP_SENDER_EMAIL: $$cap_appname@$$cap_root_domain
ALLOW_MULTIPLE_ORGS: false
LIGHTDASH_QUERY_MAX_LIMIT: 5000
LIGHTDASH_MAX_PAYLOAD: 5mb
HEADLESS_BROWSER_HOST: srv-captain--$$cap_appname-headless-browser
HEADLESS_BROWSER_PORT: 3000
RUDDERSTACK_WRITE_KEY:
SCHEDULER_ENABLED: true
volumes:
- '$$cap_appname-dbt:/usr/app/dbt'
caproverExtra:
containerHttpPort: '8080'

$$cap_appname-db:
image: postgres:15.4
restart: always
environment:
POSTGRES_PASSWORD: $$cap_db_pass
POSTGRES_USER: lightdash
POSTGRES_DB: lightdash
volumes:
- $$cap_appname-db-data:/var/lib/postgresql/data

$$cap_appname-headless-browser:
image: browserless/chrome:1-puppeteer-21.4.1
restart: always

volumes:
db-data:

caproverOneClickApp:
variables:
- id: $$cap_app_version
label: Lightdash
defaultValue: '0.885.0'
description: Check out Lightdash Docker page for the valid tags https://hub.docker.com/r/lightdash/lightdash/tags
validRegex: '/.{1,}/'
- id: $$cap_db_pass
label: Database Password
defaultValue: $$cap_gen_random_hex(16)

instructions:
start: |-
Open source BI for teams that move fast ⚡️

Lightdash instantly turns your dbt project into a full-stack BI platform.

Analysts write metrics and Lightdash enables self-serve for the entire business.

Enable everybody in your company to answer their own questions using Lightdash.
end: |-
Done! 😄

Lightdash is available at http://$$cap_appname.$$cap_root_domain

More information can be found at https://docs.lightdash.com/get-started/intro
displayName: Lightdash
isOfficial: true
description: Open source BI. Lightdash instantly turns your dbt project into a full-stack BI platform.
documentation: This docker-compose is taken from https://github.com/lightdash/lightdash/blob/main/docker-compose.yml
Binary file added public/v4/logos/lightdash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.