summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYannik Zimmermann <[email protected]>2021-05-07 14:32:42 +0200
committerGitHub <[email protected]>2021-05-07 08:32:42 -0400
commit7945d81cdf0e8255a3c04b5dd854251cec482962 (patch)
tree3ef36b591aee10199101a7f7d29ce98d094eb671
parent050095b0b0bfafe2ba5adb1fa84820f652c3d6e0 (diff)
downloadcaprover-one-click-apps-7945d81cdf0e8255a3c04b5dd854251cec482962.tar.gz
caprover-one-click-apps-7945d81cdf0e8255a3c04b5dd854251cec482962.zip
Adds umami (#426)
* feat(rstudio-server): adds yml for rstudio server one-click * fix(rstudio-server): fixed version not to use latest because it could break the one-click-app * fix: add volume to rstudio to keep persistent data and updated isOfficial value * fix: updated description to be under 200 characters * feat(umami): adds umami web-analytics deployment with caprover-umami * fix: formatting of umami yml * fix: run prettier to comply yml formatting * feat: update to caprover-umami postgresql-5ecaf55
-rw-r--r--public/v4/apps/umami.yml76
-rw-r--r--public/v4/logos/umami.pngbin0 -> 10526 bytes
2 files changed, 76 insertions, 0 deletions
diff --git a/public/v4/apps/umami.yml b/public/v4/apps/umami.yml
new file mode 100644
index 0000000..51e3780
--- /dev/null
+++ b/public/v4/apps/umami.yml
@@ -0,0 +1,76 @@
+captainVersion: 4
+services:
+ # Umami
+ $$cap_appname:
+ image: tschannik/caprover-umami:$$cap_umami_version
+ restart: always
+ environment:
+ DATABASE_URL: postgresql://umami:$$cap_postgres_pass@srv-captain--$$cap_appname-postgres/umami
+ POSTGRES_HOSTNAME: srv-captain--$$cap_appname-postgres
+ POSTGRES_DB: umami
+ POSTGRES_USER: umami
+ POSTGRES_PASSWORD: $$cap_postgres_pass
+ POSTGRES_INITDB_ARGS: $$cap_pg_initdb_args
+ HASH_SALT: $$cap_gen_random_hex(16)
+ depends_on:
+ - $$cap_appname-postgres
+ caproverExtra:
+ containerHttpPort: '3000'
+ # PostgreSQL
+ $$cap_appname-postgres:
+ image: postgres:$$cap_postgres_version
+ volumes:
+ - $$cap_appname-postgres-data:/var/lib/postgresql/data
+ restart: always
+ environment:
+ POSTGRES_DB: umami
+ POSTGRES_USER: umami
+ POSTGRES_PASSWORD: $$cap_postgres_pass
+ POSTGRES_INITDB_ARGS: $$cap_pg_initdb_args
+ caproverExtra:
+ notExposeAsWebApp: 'true'
+caproverOneClickApp:
+ variables:
+ - id: $$cap_postgres_version
+ label: Postgres Version
+ defaultValue: '12.6-alpine'
+ description: Checkout their page for the valid tags https://hub.docker.com/_/postgres
+ validRegex: /^([^\s^\/])+$/
+ - id: $$cap_umami_version
+ label: Caprover Umami Version
+ defaultValue: 'postgresql-5ecaf55'
+ description: Checkout their github page for the valid tags https://github.com/tschannik/caprover-umami
+ validRegex: /^([^\s^\/])+$/
+ - id: $$cap_postgres_pass
+ label: Potgress Database password
+ description: 'Pasword for postgres'
+ defaultValue: $$cap_gen_random_hex(16)
+ validRegex: /^([^\s^\/])+$/
+ - id: $$cap_pg_initdb_args
+ label: "OPTIONAL: Arguments for 'postgres initdb'"
+ description: For example, --data-checksums
+ validRegex: /.{0,}/
+ instructions:
+ start: >-
+ umami is a simple, easy to use, self-hosted web analytics solution. The goal is to provide you with a friendly privacy-focused alternative to Google Analytics.
+
+
+ This app will install a default postgres instance with persistant data. You can choose the version yourself. The deployment was tested with postgres 12.x.
+
+ After the installation we'll fork a slightly customized version of the original umami package which makes sure that your data is not corrupted on new container deployments or restarts.
+ Open a PR on https://github.com/tschannik/caprover-umami of your desired umami-version is not supported.
+
+
+ For more details about umami, see: https://umami.is
+
+
+ Enter your configuration parameters and click on next. It will take about a minute for the process to finish.
+ end: >-
+ Aaaand you're done! 🔥
+ Your umami instance is available at http://$$cap_appname.$$cap_root_domain
+
+ IMPORTANT: Use user 'admin' and password 'umami' to login and change your password immediately!
+ displayName: umami
+ isOfficial: false
+ description: umami is a simple, easy to use, self-hosted web analytics solution. The goal is to provide you with a friendly privacy-focused alternative to Google Analytics.
+ documentation: Official docs are [here](https://github.com/mikecao/umami)
diff --git a/public/v4/logos/umami.png b/public/v4/logos/umami.png
new file mode 100644
index 0000000..7d947dc
--- /dev/null
+++ b/public/v4/logos/umami.png
Binary files differ