diff options
| author | pubmania <[email protected]> | 2021-03-25 23:37:53 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-25 19:37:53 -0400 |
| commit | 1d288f8d7af7cb1b45ce0aee28759203db7e5102 (patch) | |
| tree | 015d091d9e0c3134c7327f404fc47f75f94c8a9a /public/v4/apps/akaunting.yml | |
| parent | 00496e2590fc6f873d27083363d84222b25f300b (diff) | |
| download | caprover-one-click-apps-1d288f8d7af7cb1b45ce0aee28759203db7e5102.tar.gz caprover-one-click-apps-1d288f8d7af7cb1b45ce0aee28759203db7e5102.zip | |
Adding Akaunting (#377)
* Add Akaunting
Tested it on my instance and it works perfect. All images used are from official sources.
* Add Akaunting logo
Added Akaunting logo downloaded from their official website https://akaunting.com/
* Change docker tag from "latest" to 2.1.8
Change docker tag from "latest" to 2.1.8
* Updated as per comments
Removed ports: 8080:80 as per comment - CapRover automatically reverse proxy to your app. Added the the db version.
* Create node.js.yml
* Create formatter.yml
* Delete formatter.yml
* Delete node.js.yml
Co-authored-by: Kasra Bigdeli <[email protected]>
Diffstat (limited to 'public/v4/apps/akaunting.yml')
| -rw-r--r-- | public/v4/apps/akaunting.yml | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/public/v4/apps/akaunting.yml b/public/v4/apps/akaunting.yml new file mode 100644 index 0000000..4a42422 --- /dev/null +++ b/public/v4/apps/akaunting.yml @@ -0,0 +1,83 @@ +captainVersion: 4 +services: + # Akaunting + $$cap_appname: + depends_on: + - $$cap_appname-db + image: akaunting/akaunting:$$cap_app_version + build: + context: . + restart: always + environment: + APP_URL: http://$$cap_appname.$$cap_root_domain + LOCALE: en-US + AKAUNTING_SETUP: true + DB_HOST: srv-captain--$$cap_appname-db + DB_PORT: 3306 + DB_USERNAME: akaunting + DB_DATABASE: akaunting + DB_PASSWORD: $$cap_db_pass + DB_PREFIX: $$cap_db_prefix + COMPANY_NAME: $$cap_company_name + COMPANY_EMAIL: $$cap_company_email + ADMIN_EMAIL: $$cap_admin_email + ADMIN_PASSWORD: $$cap_admin_password + volumes: + - $$cap_appname-data:/akaunting-data + - $$cap_appname-modules:/akaunting-modules + # Database + $$cap_appname-db: + image: mariadb:10.5.9 + volumes: + - $$cap_appname-db:/var/lib/mysql/data + restart: always + environment: + MYSQL_ROOT_PASSWORD: $$cap_db_pass + MYSQL_USER: akaunting + MYSQL_PASSWORD: $$cap_db_pass + MYSQL_DATABASE: akaunting + caproverExtra: + notExposeAsWebApp: 'true' +caproverOneClickApp: + variables: + - id: $$cap_app_version + label: Akaunting Version + defaultValue: '2.1.8' + description: Check out their docker page for the valid tags https://hub.docker.com/r/akaunting/akaunting/tags + + - id: $$cap_db_pass + label: Database Password + defaultValue: $$cap_gen_random_hex(16) + + - id: $$cap_db_prefix + label: Database Prefix + defaultValue: 'aka_' + + - id: $$cap_company_name + label: Company Name + description: OPTIONAL + + - id: $$cap_company_email + label: Company Email + description: OPTIONAL + + - id: $$cap_admin_email + label: Admin Email + defaultValue: '[email protected]' + description: This will be your default login username + + - id: $$cap_admin_password + label: Admin Password + defaultValue: $$cap_gen_random_hex(16) + description: This will be your default login password + + instructions: + start: >- + 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 + 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. + documentation: https://akaunting.com/docs |
