From bac1c054b858c6a42f486d951fc2a8d3b6854369 Mon Sep 17 00:00:00 2001 From: Kaustubh Srikanth Date: Wed, 6 Mar 2024 13:07:39 +0100 Subject: [PATCH 1/2] feature: FreeScout Help Desk * Added freescout.yaml and logofile --- public/v4/apps/freescout.yml | 79 ++++++++++++++++++++++++++++++++++ public/v4/logos/freescout.png | Bin 0 -> 2024 bytes 2 files changed, 79 insertions(+) create mode 100644 public/v4/apps/freescout.yml create mode 100644 public/v4/logos/freescout.png diff --git a/public/v4/apps/freescout.yml b/public/v4/apps/freescout.yml new file mode 100644 index 000000000..278496610 --- /dev/null +++ b/public/v4/apps/freescout.yml @@ -0,0 +1,79 @@ +captainVersion: 4 +services: + $$cap_appname-db: + image: $$cap_db_type:$$cap_database_version + volumes: + - $$cap_appname-db-data:/var/lib/mysql + restart: always + environment: + MYSQL_ROOT_PASSWORD: $$cap_db_pass + MYSQL_DATABASE: freescout + MYSQL_USER: $$cap_db_user + MYSQL_PASSWORD: $$cap_db_pass + caproverExtra: + notExposeAsWebApp: 'true' + + $$cap_appname: + depends_on: + - $$cap_appname-db + image: tiredofit/freescout:$$cap_freescout_version + volumes: + - $$cap_appname-data:/www/html + restart: always + environment: + DB_HOST: srv-captain--$$cap_appname-db + DB_NAME: freescout + DB_USER: $$cap_db_user + DB_PASS: $$cap_db_pass + SITE_URL: https://$$cap_appname.$$cap_root_domain + ADMIN_EMAIL: $$cap_freescout_admin_email + ADMIN_PASS: $$cap_freescout_admin_pass + +caproverOneClickApp: + variables: + + - id: $$cap_db_user + label: Database user + defaultValue: freescout + validRegex: /^([a-zA-Z0-9])+$/ + - id: $$cap_db_pass + label: Database password + description: '' + validRegex: /^(\w|[^\s"'\\])+$/ + defaultValue: $$cap_gen_random_hex(16) + - id: $$cap_freescout_version + label: FreeScout Version + defaultValue: 'php8.3-1.17.55' + description: + validRegex: /^([^\s^\/])+$/ + - id: $$cap_db_type + label: Database Type + defaultValue: mariadb + description: You can either choose mariadb or mysql, you need to change the version according to which DB is selected. It is case sensitive. + validRegex: /^(mysql|mariadb)$/ + - id: $$cap_database_version + label: Database Version, default is mariadb + defaultValue: '10.4' + description: Check out the Docker pages for the valid tags https://hub.docker.com/r/library/mysql/tags/ or https://hub.docker.com/_/mariadb?tab=tags + validRegex: /^([^\s^\/])+$/ + - id: $$cap_freescout_admin_email + label: admin e-mail + defaultValue: admin@domain.com + description: admin e-mail address + - id: $$cap_freescout_admin_pass + label: admin password + validRegex: /^(\w|[^\s"'\\])+$/ + defaultValue: $$cap_gen_random_hex(16) + description: admin password + + instructions: + start: >- + FreeScout is the super lightweight and powerful free open source help desk and shared inbox written in PHP (Laravel framework). It is a self hosted clone of HelpScout. Now you can enjoy free Zendesk & Help Scout without giving up privacy or locking you into a service you don't control. + end: > + FreeScout is deployed and available as https://$$cap_appname.$$cap_root_domain. Please enable HTTPS. + + IMPORTANT: It will take up to 2 minutes for Freescout to be ready. Before that, you might see a 502 error page. + displayName: FreeScout + isOfficial: true + description: Open Source Helpdesk & Shared Mailbox + documentation: https://github.com/tiredofit/docker-freescout diff --git a/public/v4/logos/freescout.png b/public/v4/logos/freescout.png new file mode 100644 index 0000000000000000000000000000000000000000..7f46af099856561f39eedfacfe42ab6b2bc6f9ca GIT binary patch literal 2024 zcmVP)mbPsSZdjmKJxA4?UUc#2HSMt*1ATKe_Q&x^H|O1BivTIO-1W)JX2|9mF%2NCd zxI6~A(9zRe;|AK`A`@=4XD|zy%3Jo{DRCguJ9pqyl;1=w1Ah}TL*GwXKG{?{htEVa z1x_(75g_Dc2~$H@Gp#N}T?|~%HPuWv3G+hbiu@h{<)SlehCn}kCw&vU0Q^QnO=jfS z!V!pxA|s>oFgG60O2fCM9+d+8rz}?6Mb6R2DJpZEEdk2W#LFg_u7J+Ds=*Ctii_Mr z46sJ`Ap@1~BEDt%3{nc`$$GNxnAxxLwxJ_zp&t^UmQSc1-z~E=A@t)TI`tijIyH z=jgU7L{Nr69Wujpo9d_(ASoO6ktx+EDPjV;dx~q14T*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ps/freescout.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/public/v4/apps/freescout.yml b/public/v4/apps/freescout.yml index 278496610..b99ea2a62 100644 --- a/public/v4/apps/freescout.yml +++ b/public/v4/apps/freescout.yml @@ -31,7 +31,6 @@ services: caproverOneClickApp: variables: - - id: $$cap_db_user label: Database user defaultValue: freescout