Skip to content

Commit

Permalink
Add Firefly III srvapp (#65)
Browse files Browse the repository at this point in the history
* Add Firefly III srvapp

* Fix Firefly III missing cosmos-persistent-env
  • Loading branch information
jwr1 authored Oct 24, 2023
1 parent b74911b commit ff798c7
Show file tree
Hide file tree
Showing 5 changed files with 93 additions and 0 deletions.
84 changes: 84 additions & 0 deletions servapps/Firefly-III/cosmos-compose.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"cosmos-installer": {},
"minVersion": "0.7.6",
"services": {
"{ServiceName}": {
"image": "fireflyiii/core:latest",
"container_name": "{ServiceName}",
"hostname": "{ServiceName}",
"restart": "unless-stopped",
"environment": [
"TZ=auto",
"APP_KEY={Passwords.0}00000000",
"TRUSTED_PROXIES=**",
"DB_CONNECTION=mysql",
"DB_HOST={ServiceName}-db",
"DB_PORT=3306",
"DB_DATABASE=firefly",
"DB_USERNAME=firefly",
"DB_PASSWORD={Passwords.1}"
],
"labels": {
"cosmos-persistent-env": "APP_KEY, DB_DATABASE, DB_USERNAME, DB_PASSWORD",
"cosmos-force-network-secured": "true",
"cosmos-auto-update": "true",
"cosmos-icon": "https://azukaar.github.io/cosmos-servapps-official/servapps/Firefly-III/icon.png"
},
"networks": {
"{ServiceName}": {}
},
"volumes": [
{
"source": "{ServiceName}-upload",
"target": "/var/www/html/storage/upload",
"type": "volume"
}
],
"routes": [
{
"name": "{ServiceName}",
"description": "Expose {ServiceName} to the web",
"useHost": true,
"target": "http://{ServiceName}:8080",
"mode": "SERVAPP",
"Timeout": 14400000,
"ThrottlePerMinute": 12000,
"BlockCommonBots": true,
"SmartShield": {
"Enabled": true
}
}
]
},

"{ServiceName}-db": {
"image": "mariadb:10.11",
"container_name": "{ServiceName}-db",
"hostname": "{ServiceName}-db",
"restart": "unless-stopped",
"networks": {
"{ServiceName}": {}
},
"volumes": [
{
"source": "{ServiceName}-db",
"target": "/var/lib/mysql",
"type": "volume"
}
],
"environment": [
"MARIADB_DATABASE=firefly",
"MARIADB_USER=firefly",
"MARIADB_PASSWORD={Passwords.1}",
"MARIADB_ROOT_PASSWORD={Passwords.2}"
],
"labels": {
"cosmos-persistent-env": "MARIADB_DATABASE, MARIADB_USER, MARIADB_PASSWORD, MARIADB_ROOT_PASSWORD",
},
}
},

"networks": {
"{ServiceName}": {}
}
}
9 changes: 9 additions & 0 deletions servapps/Firefly-III/description.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "Firefly III",
"description": "A free and open source personal finance manager",
"longDescription": "<p>Firefly III is a (self-hosted) manager for your personal finances. It can help you keep track of your expenses and income, so you can spend less and save more. Firefly III supports the use of budgets, categories and tags. Using a bunch of external tools, you can import data. It also has many neat financial reports available.</p>",
"tags": ["money", "personal-finance", "finance", "credit-card", "budgeting", "cash-flow", "budget", "expenses", "paycheck"],
"repository": "https://github.com/firefly-iii/firefly-iii",
"image": "https://hub.docker.com/r/fireflyiii/core",
"supported_architectures": ["amd64", "arm64"]
}
Binary file added servapps/Firefly-III/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added servapps/Firefly-III/screenshots/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added servapps/Firefly-III/screenshots/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ff798c7

Please sign in to comment.