diff options
| author | Julian Engel <[email protected]> | 2024-05-03 17:18:06 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-05-03 08:18:06 -0700 |
| commit | 569397493b4eaca96887ec430bc42c1ee6d780e8 (patch) | |
| tree | e168df4dcb6d6b831fbef4eb9d4596d3c8c15d1c /public | |
| parent | 527df93aaaa0d037d19df107103ae035e4d000c3 (diff) | |
| download | caprover-one-click-apps-569397493b4eaca96887ec430bc42c1ee6d780e8.tar.gz caprover-one-click-apps-569397493b4eaca96887ec430bc42c1ee6d780e8.zip | |
Update invoiceninja One Click App (#1099)
* Update invoiceninja One Click App
-> Bumped to latest version
-> Updated descriptions to be more clear
-> Added email env variables to main app
-> Added variables for GoCardless and enabling the banking integration
* Fixed YAML parsing mistake due to incorrect grammar usage with '
In the DB setup, it said Invoice Ninja's which accidentally broke the YAML file. Reworded it to The Invoice Ninja Admin Password.
Diffstat (limited to 'public')
| -rw-r--r-- | public/v4/apps/invoiceninja.yml | 37 |
1 files changed, 25 insertions, 12 deletions
diff --git a/public/v4/apps/invoiceninja.yml b/public/v4/apps/invoiceninja.yml index 4384518..98ac727 100644 --- a/public/v4/apps/invoiceninja.yml +++ b/public/v4/apps/invoiceninja.yml @@ -2,17 +2,18 @@ captainVersion: 4 caproverOneClickApp: instructions: start: |- - You will need your own "Invoice App Key", you can get new one with + You will need your own "Invoice Ninja App Key", you can generate a new one with `docker run --rm invoiceninja/invoiceninja php artisan key:generate --show` - Detailed instructions in [Invoice Ninja Repo](https://github.com/invoiceninja/dockerfiles#alternatively-get-started-with-docker-compose) - Some variables have default values and can be set in App Config of AppName-app. Check https://github.com/invoiceninja/invoiceninja/blob/master/.env.example + Detailed instructions in the official [Invoice Ninja Repo](https://github.com/invoiceninja/dockerfiles#alternatively-get-started-with-docker-compose) + Some variables have default values and others need to be manually added into the App Config of AppName-app. Check the sample [env file](https://github.com/invoiceninja/invoiceninja/blob/master/.env.example) from the official repo. end: > Invoice Ninja is deployed, it might take few moments before it's fully started. Initial user is: $$cap_invoiceninja_admin_user_email with password $$cap_invoiceninja_admin_pass. - Some variables have default values and can be set in App Config of $$cap_appname-app + Some variables have default values and can/must be set in App Config of $$cap_appname-app. + Make sure to enable the email service by adding the neccesary values in in App Config of $$cap_appname-app. displayName: Invoice Ninja - isOfficial: false + isOfficial: true description: Small Business Invoicing & Payments. documentation: |- Based on https://github.com/invoiceninja/dockerfiles @@ -21,13 +22,13 @@ caproverOneClickApp: variables: - id: $$cap_invoiceninja_VERSION label: Invoice Ninja Version - defaultValue: '5.5.37' - description: It's a good idea to check for breaking changes between versions + defaultValue: '5.8.52' + description: It's a good idea to check for breaking changes between versions. Check current version [on GitHub](https://github.com/invoiceninja/dockerfiles/releases) validRegex: /^([^\s^\/])+$/ - id: $$cap_invoiceninja_APP_KEY label: Invoice App Key - description: Your own App Key by Invoice Ninja. See description above. + description: Your own App Key by Invoice Ninja generated from the terminal. See description above. validRegex: /^base64\:[A-Za-z0-9+\/]+={0,2}$/ - id: $$cap_invoiceninja_admin_user_email label: ADMIN_USER_EMAIL @@ -38,7 +39,7 @@ caproverOneClickApp: - id: $$cap_invoiceninja_admin_pass label: ADMIN_USER_PASS defaultValue: $$cap_gen_random_hex(10) - description: 'Admin pass for Invoice Ninja' + description: 'Admin password for Invoice Ninja' validRegex: /.{1,}/ - id: $$cap_invoiceninja_DB_USERNAME @@ -49,7 +50,7 @@ caproverOneClickApp: - id: $$cap_invoiceninja_DB_PASSWORD label: DB_PASSWORD defaultValue: $$cap_gen_random_hex(10) - description: 'The password of Invoice Ninjas database user.' + description: 'The password of the Invoice Ninja database user.' validRegex: /.{1,}/ - id: $$cap_invoiceninja_DB_DATABASE @@ -88,10 +89,22 @@ services: DB_DATABASE: $$cap_invoiceninja_DB_DATABASE DB_USERNAME: $$cap_invoiceninja_DB_USERNAME DB_PASSWORD: $$cap_invoiceninja_DB_PASSWORD - # TODO defined as variables + MAIL_DRIVER: '' + MAIL_PORT: '' + MAIL_ENCRYPTION: '' + MAIL_HOST: '' + MAIL_USERNAME: '' + MAIL_FROM_ADDRESS: '' + MAIL_FROM_NAME: '' + MAIL_PASSWORD: '' + TRUSTED_PROXIES: 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 + # GoCardless/Nordigen API key for banking integration + NORDIGEN_SECRET_ID: '' + NORDIGEN_SECRET_KEY: '' + # These can be removed after initial login IN_USER_EMAIL: $$cap_invoiceninja_admin_user_email IN_PASSWORD: $$cap_invoiceninja_admin_pass - TRUSTED_PROXIES: 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 + volumes: - $$cap_appname-app-public:/var/www/app/public - $$cap_appname-app-storage:/var/www/app/storage |
