From d7802189f7e169390565a08eb4ce5166dbacf057 Mon Sep 17 00:00:00 2001 From: Vytenis Date: Tue, 28 May 2024 06:56:45 +0300 Subject: 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 --- public/v4/apps/akaunting.yml | 14 ++++++++------ 1 file 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. -- cgit v1.2.3