summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorkgnfth <[email protected]>2020-12-22 23:54:47 +0100
committerGitHub <[email protected]>2020-12-22 17:54:47 -0500
commit085f998844af76d4a8c9969662b6945d44550600 (patch)
tree2acc36373d1d9dac059efbe7bd4ea10fd221d510
parent4b28458a91c8690bc39bc244fba7fa3eca6b85e1 (diff)
downloadcaprover-one-click-apps-085f998844af76d4a8c9969662b6945d44550600.tar.gz
caprover-one-click-apps-085f998844af76d4a8c9969662b6945d44550600.zip
Added Metabase (#333)
* :sparkles: Added Metabase * :sparkles: Added Metabase
-rw-r--r--public/v4/apps/metabase.yml69
-rw-r--r--public/v4/logos/metabase.pngbin0 -> 21486 bytes
2 files changed, 69 insertions, 0 deletions
diff --git a/public/v4/apps/metabase.yml b/public/v4/apps/metabase.yml
new file mode 100644
index 0000000..31c3349
--- /dev/null
+++ b/public/v4/apps/metabase.yml
@@ -0,0 +1,69 @@
+captainVersion: 4
+services:
+ # Metabase
+ $$cap_appname:
+ image: metabase/metabase:$$cap_mb_version
+ restart: always
+ environment:
+ MB_DB_TYPE: postgres
+ MB_DB_DBNAME: metabase
+ MB_DB_PORT: 5432
+ MB_DB_USER: metabase
+ MB_DB_PASS: $$cap_db_pass
+ MB_DB_HOST: srv-captain--$$cap_appname-db
+ MB_EMAIL_SMTP_HOST: $$cap_smtp_host
+ MB_EMAIL_SMTP_PORT: $$cap_smtp_port
+ MB_EMAIL_SMTP_USERNAME: $$cap_smtp_user
+ MB_EMAIL_SMTP_PASSWORD: $$cap_smtp_pass
+ volumes:
+ - $$cap_appname-data:/metabase-data
+ caproverExtra:
+ containerHttpPort: '3000'
+ # Database
+ $$cap_appname-db:
+ image: postgres:12-alpine
+ volumes:
+ - $$cap_appname-db:/var/lib/postgresql/data
+ restart: always
+ environment:
+ POSTGRES_USER: metabase
+ POSTGRES_PASSWORD: $$cap_db_pass
+ POSTGRES_DB: metabase
+ caproverExtra:
+ notExposeAsWebApp: 'true'
+caproverOneClickApp:
+ variables:
+ - id: $$cap_mb_version
+ label: Metabase Version
+ defaultValue: 'v0.38.0-rc1'
+ description: Checkout their docker page for the valid tags https://hub.docker.com/r/metabase/metabase/tags
+
+ - id: $$cap_db_pass
+ label: Database Password
+ defaultValue: $$cap_gen_random_hex(16)
+
+ - id: $$cap_smtp_host
+ label: SMTP Host
+ description: OPTIONAL
+
+ - id: $$cap_smtp_port
+ label: SMTP Port
+ description: OPTIONAL
+
+ - id: $$cap_smtp_user
+ label: SMTP User
+ description: OPTIONAL
+
+ - id: $$cap_smtp_pass
+ label: SMTP Password
+ description: OPTIONAL
+ instructions:
+ start: >-
+ Metabase is the easy, open source way for everyone in your company to ask questions and learn from data.
+ end: >-
+ Aaaand you're done! 😄
+ Your service is available at http://$$cap_appname.$$cap_root_domain
+ displayName: 'Metabase'
+ isOfficial: true
+ description: Metabase is the easy, open source way for everyone in your company to ask questions and learn from data.
+ documentation: https://www.metabase.com/docs/latest/operations-guide/running-metabase-on-docker.html
diff --git a/public/v4/logos/metabase.png b/public/v4/logos/metabase.png
new file mode 100644
index 0000000..b44467b
--- /dev/null
+++ b/public/v4/logos/metabase.png
Binary files differ