diff options
| author | Vytenis <[email protected]> | 2024-05-28 06:56:45 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-05-27 20:56:45 -0700 |
| commit | d7802189f7e169390565a08eb4ce5166dbacf057 (patch) | |
| tree | c767d873934cd162b5f1d74864bbc9ede4e1c803 | |
| parent | ad3d4595710880c3a1e3404f976dc9b233da0903 (diff) | |
| download | caprover-one-click-apps-d7802189f7e169390565a08eb4ce5166dbacf057.tar.gz caprover-one-click-apps-d7802189f7e169390565a08eb4ce5166dbacf057.zip | |
Update akaunting.yml (#1107)
Allow to use v3 and v2 of akaunting. There were some changes in ENV. I also removed the redundant db name - it now just takes it from the app name. Sure it can be changed later via ENV variables if needed
| -rw-r--r-- | public/v4/apps/akaunting.yml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/public/v4/apps/akaunting.yml b/public/v4/apps/akaunting.yml index 5541026..747a44c 100644 --- a/public/v4/apps/akaunting.yml +++ b/public/v4/apps/akaunting.yml @@ -12,8 +12,9 @@ services: AKAUNTING_SETUP: true DB_HOST: srv-captain--$$cap_appname-db DB_PORT: 3306 - DB_USERNAME: akaunting - DB_DATABASE: akaunting + DB_USERNAME: $$cap_appname + DB_DATABASE: $$cap_appname + DB_NAME: $$cap_appname # Dublicated for v2 and v3 compatibility DB_PASSWORD: $$cap_db_pass DB_PREFIX: $$cap_db_prefix COMPANY_NAME: $$cap_company_name @@ -31,16 +32,16 @@ services: restart: always environment: MYSQL_ROOT_PASSWORD: $$cap_db_pass - MYSQL_USER: akaunting + MYSQL_USER: $$cap_appname MYSQL_PASSWORD: $$cap_db_pass - MYSQL_DATABASE: akaunting + MYSQL_DATABASE: $$cap_appname caproverExtra: notExposeAsWebApp: 'true' caproverOneClickApp: variables: - id: $$cap_app_version label: Akaunting Version - defaultValue: '2.1.8' + defaultValue: '3' description: Check out their docker page for the valid tags https://hub.docker.com/r/akaunting/akaunting/tags - id: $$cap_db_pass @@ -74,7 +75,8 @@ caproverOneClickApp: From invoicing to expense tracking to accounting, Akaunting has all the tools you need to manage your money online, for free. end: >- Done! 😄 - Your service is available at http://$$cap_appname.$$cap_root_domain + Your service is available at [http://$$cap_appname.$$cap_root_domain](http://$$cap_appname.$$cap_root_domain) + Admin credentials are `$$cap_admin_email / $$cap_admin_password` displayName: 'Akaunting' isOfficial: true description: From invoicing to expense tracking to accounting, Akaunting has all the tools you need to manage your money online, for free. |
