Skip to content

Commit 99b9134

Browse files
authored
update umami according to v3 (#1269)
1 parent 9ee37ef commit 99b9134

4 files changed

Lines changed: 12 additions & 87 deletions

File tree

public/v4/apps/umami-mysql.yml

Lines changed: 0 additions & 69 deletions
This file was deleted.

public/v4/apps/umami-only.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,19 @@ captainVersion: 4
22
services:
33
# Umami
44
$$cap_appname:
5-
image: ghcr.io/umami-software/umami:$$cap_db_type-$$cap_umami_version
5+
image: ghcr.io/umami-software/umami:$$cap_umami_version
66
restart: always
77
environment:
8-
DATABASE_URL: $$cap_db_type://$$cap_db_user:$$cap_db_pass@$$cap_db_url/$$cap_db_name
8+
DATABASE_URL: postgresql://$$cap_db_user:$$cap_db_pass@$$cap_db_url/$$cap_db_name
99
caproverExtra:
1010
containerHttpPort: '3000'
1111
caproverOneClickApp:
1212
variables:
1313
- id: '$$cap_umami_version'
1414
label: Caprover Umami Version
15-
defaultValue: 'v1.38.0'
15+
defaultValue: '3.0.3'
1616
description: Checkout their github page for the valid tags https://github.com/umami-software/umami/pkgs/container/umami
1717
validRegex: /^([^\s^\/])+$/
18-
- id: '$$cap_db_type'
19-
label: Database Type (postgresql or mysql)
20-
validRegex: /^(postgresql|mysql)$/
2118
- id: '$$cap_db_url'
2219
label: Database Remote URL
2320
description: 'if your db is in your caprover network use srv-captain--appName'
@@ -36,9 +33,6 @@ caproverOneClickApp:
3633
start: >-
3734
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.
3835
39-
40-
This app will install a default mysql instance with persistant data. You can choose the version yourself. The deployment was tested with mysql 8.0.x and postgres 14.x.
41-
4236
For Updating just Deploy latest image from https://github.com/umami-software/umami/pkgs/container/umami using the Deploy via ImageName section in your caprover umami container
4337
4438
For more details about umami, see: https://umami.is
@@ -47,11 +41,11 @@ caproverOneClickApp:
4741
4842
Enter your configuration parameters and click on next. It will take about a minute for the process to finish.
4943
end: >-
50-
Aaaand you're done! 🔥
44+
Aaaand you're done! 🔥
5145
Your umami instance is available at http://$$cap_appname.$$cap_root_domain
5246
5347
IMPORTANT: Use user 'admin' and password 'umami' to login and change your password immediately!
5448
displayName: umami-only
5549
isOfficial: true
5650
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.
57-
documentation: Official docs are [here](https://umami.is/docs/getting-started)
51+
documentation: Official docs are [here](https://umami.is/docs/install)

public/v4/apps/umami-postgresql.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ captainVersion: 4
22
services:
33
# Umami postgres
44
$$cap_appname:
5-
image: ghcr.io/umami-software/umami:postgresql-$$cap_umami_version
5+
image: ghcr.io/umami-software/umami:$$cap_umami_version
66
restart: always
77
environment:
88
DATABASE_URL: postgresql://umami:$$cap_postgres_pass@srv-captain--$$cap_appname-postgres/umami
@@ -14,7 +14,7 @@ services:
1414
$$cap_appname-postgres:
1515
image: postgres:$$cap_postgres_version
1616
volumes:
17-
- $$cap_appname-postgres-data:/var/lib/postgresql/data
17+
- $$cap_appname-postgres-data:/var/lib/postgresql
1818
restart: always
1919
environment:
2020
POSTGRES_DB: umami
@@ -27,12 +27,12 @@ caproverOneClickApp:
2727
variables:
2828
- id: $$cap_postgres_version
2929
label: Postgres Version
30-
defaultValue: '14.5-alpine'
30+
defaultValue: '18.1-alpine'
3131
description: Checkout their page for the valid tags https://hub.docker.com/_/postgres
3232
validRegex: /^([^\s^\/])+$/
3333
- id: $$cap_umami_version
3434
label: Caprover Umami Version
35-
defaultValue: 'v1.38.0'
35+
defaultValue: '3.0.3'
3636
description: Checkout their github page for the valid tags https://github.com/umami-software/umami/pkgs/container/umami
3737
validRegex: /^([^\s^\/])+$/
3838
- id: $$cap_postgres_pass
@@ -49,7 +49,7 @@ caproverOneClickApp:
4949
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.
5050
5151
52-
This app will install a default postgres instance with persistant data. You can choose the version yourself. The deployment was tested with postgres 14.x.
52+
This app will install a default postgres instance with persistant data. You can choose the version yourself. The deployment was tested with postgres 18.x.
5353
5454
For Updating just Deploy latest image from https://github.com/umami-software/umami/pkgs/container/umami using the Deploy via ImageName section in your caprover umami container
5555
@@ -58,11 +58,11 @@ caproverOneClickApp:
5858
5959
Enter your configuration parameters and click on next. It will take about a minute for the process to finish.
6060
end: >-
61-
Aaaand you're done! 🔥
61+
Aaaand you're done! 🔥
6262
Your umami instance is available at http://$$cap_appname.$$cap_root_domain
6363
6464
IMPORTANT: Use user 'admin' and password 'umami' to login and change your password immediately!
6565
displayName: umami-postgresql
6666
isOfficial: true
6767
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.
68-
documentation: Official docs are [here](https://umami.is/docs/getting-started)
68+
documentation: Official docs are [here](https://umami.is/docs/install)

public/v4/logos/umami-mysql.png

-10.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)