summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAntoine Jacques <[email protected]>2020-07-07 02:38:10 +0200
committerGitHub <[email protected]>2020-07-06 20:38:10 -0400
commit9f09732b9a7ffc90b7849c663746f9f5dae7396a (patch)
tree1b0442d53145b58238c5d59012a28f316b029a96
parent1df53c9c194e540618af273d32e1f89eba2a8493 (diff)
downloadcaprover-one-click-apps-9f09732b9a7ffc90b7849c663746f9f5dae7396a.tar.gz
caprover-one-click-apps-9f09732b9a7ffc90b7849c663746f9f5dae7396a.zip
Firefly III One Click App (#217)
-rw-r--r--public/v2/apps/firefly-iii.json97
-rw-r--r--public/v2/logos/firefly-iii.pngbin0 -> 22027 bytes
2 files changed, 97 insertions, 0 deletions
diff --git a/public/v2/apps/firefly-iii.json b/public/v2/apps/firefly-iii.json
new file mode 100644
index 0000000..034b310
--- /dev/null
+++ b/public/v2/apps/firefly-iii.json
@@ -0,0 +1,97 @@
+{
+ "captainVersion": "2",
+ "documentation": "Taken from https://docs.firefly-iii.org/installation/docker",
+ "description": "Firefly III - A free and open source personal finance manager",
+ "displayName": "Firefly III",
+ "dockerCompose": {
+ "version": "3.8",
+ "services": {
+ "$$cap_appname": {
+ "image": "jc5x/firefly-iii:$$cap_firefly_version",
+ "containerHttpPort": "8080",
+ "volumes": [
+ "$$cap_appname-export:/var/www/firefly-iii/storage/export",
+ "$$cap_appname-upload:/var/www/firefly-iii/storage/upload"
+ ],
+ "restart": "always",
+ "depends_on": ["$$cap_appname-db"],
+ "environment": {
+ "SITE_OWNER": "$$cap_firefly_site-owner",
+ "TZ": "$$cap_firefly_time-zone",
+ "TRUSTED_PROXIES": "**",
+ "DB_CONNECTION": "mysql",
+ "DB_PORT": 3306,
+ "DB_DATABASE": "firefly",
+ "DB_USERNAME": "firefly",
+ "DB_HOST": "srv-captain--$$cap_appname-db",
+ "DB_PASSWORD": "$$cap_mariadb_password",
+ "APP_KEY": "$$cap_firefly_app-key"
+ }
+ },
+ "$$cap_appname-db": {
+ "image": "mariadb:$$cap_mariadb_version",
+ "notExposeAsWebApp": "true",
+ "volumes": ["$$cap_appname-db-data:/var/lib/mysql"],
+ "restart": "always",
+ "environment": {
+ "MYSQL_ROOT_PASSWORD": "$$cap_mariadb_password",
+ "MYSQL_DATABASE": "firefly",
+ "MYSQL_USER": "firefly",
+ "MYSQL_PASSWORD": "$$cap_mariadb_password"
+ }
+ }
+ },
+ "volumes": {
+ "$$cap_appname-db-data": {},
+ "$$cap_appname-export": {},
+ "$$cap_appname-upload": {}
+ }
+ },
+
+ "instructions": {
+ "start": "Enter your Firefly III Configuration parameters and click on next. It will take about a minute for the process to finish.",
+ "end": "Firefly III is deployed and available from the url http://$$cap_appname.$$cap_root_domain"
+ },
+ "variables": [
+ {
+ "id": "$$cap_mariadb_version",
+ "label": "Mariadb Version Tag",
+ "description": "Check out their Docker page for the valid tags https://hub.docker.com/_/mariadb?tab=tags",
+ "defaultValue": "10.5.4",
+ "validRegex": "/^([^\\s^\\/])+$/"
+ },
+ {
+ "id": "$$cap_mariadb_password",
+ "label": "Mariadb Password",
+ "description": "The password of the Mariadb Database\"",
+ "validRegex": "/.{1,}/"
+ },
+ {
+ "id": "$$cap_firefly_version",
+ "label": "Firefly Version Tag",
+ "description": "Check out their Docker page for the valid tags https://hub.docker.com/r/jc5x/firefly-iii/tags",
+ "defaultValue": "release-5.3.0",
+ "validRegex": "/^([^\\s^\\/])+$/"
+ },
+ {
+ "id": "$$cap_firefly_site-owner",
+ "label": "Firefly Site Owner Mail",
+ "description": "The email address of the owner of the app.",
+ "validRegex": "/^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$/"
+ },
+ {
+ "id": "$$cap_firefly_time-zone",
+ "label": "Time zone",
+ "description": "The preferred time zone. Check out the available time zone on https://en.wikipedia.org/wiki/List_of_tz_database_time_zones",
+ "defaultValue": "Europe/Brussels",
+ "validRegex": "/.{1,}/"
+ },
+ {
+ "id": "$$cap_firefly_app-key",
+ "label": "Firefly APP KEY",
+ "description": "The key from which everything is encrypted. Generate one on https://passwordsgenerator.net/?length=32&symbols=0&numbers=1&lowercase=1&uppercase=1&similar=0&ambiguous=0&client=1&autoselect=0",
+ "defaultValue": "qSAY3tVhAHgz87gusKFoPbg9hpCnMVTR",
+ "validRegex": "/^[A-Za-z0-9]{32}$/"
+ }
+ ]
+}
diff --git a/public/v2/logos/firefly-iii.png b/public/v2/logos/firefly-iii.png
new file mode 100644
index 0000000..8611300
--- /dev/null
+++ b/public/v2/logos/firefly-iii.png
Binary files differ