From 3840d5d2dcd28461f433e06a0bfc5ad50d205dba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio?= Date: Wed, 21 Oct 2020 01:51:13 +0300 Subject: [PATCH] Humhub Social media platform (#282) * Humhub draft * Run prettier --- public/v4/apps/humhub.yml | 73 +++++++++++++++++++++++++++++++++++++ public/v4/logos/humhub.png | Bin 0 -> 1668 bytes 2 files changed, 73 insertions(+) create mode 100644 public/v4/apps/humhub.yml create mode 100644 public/v4/logos/humhub.png diff --git a/public/v4/apps/humhub.yml b/public/v4/apps/humhub.yml new file mode 100644 index 0000000..dfa5ada --- /dev/null +++ b/public/v4/apps/humhub.yml @@ -0,0 +1,73 @@ +captainVersion: 4 +services: + $$cap_appname-db: + image: mysql:5.7 + volumes: + - $$cap_appname-db-data:/var/lib/mysql/ + environment: + MYSQL_DATABASE: $$cap_mysql_database_name + MYSQL_ROOT_PASSWORD: $$cap_mysql_root_passwd + MYSQL_USER: $$cap_mysql_user + MYSQL_PASSWORD: $$cap_mysql_passwd + restart: always + caproverExtra: + notExposeAsWebApp: 'true' + $$cap_appname: + environment: + # The DB vars are only used if HUMHUB_AUTO_INSTALL is enabled + # However this is a shady feature so we choose to disable it by default + HUMHUB_AUTO_INSTALL: $$cap_humhub_auto_install + HUMHUB_DB_HOST: srv-captain--$$cap_appname-db + HUMHUB_DB_NAME: $$cap_mysql_database_name + HUMHUB_DB_USER: $$cap_mysql_user + HUMHUB_DB_PASSWORD: $$cap_mysql_passwd + HUMHUB_HOST: $$cap_appname.$$cap_root_domain + HUMHUB_PROTO: https + image: mriedmann/humhub:$$cap_humhub_version + restart: always + volumes: + - '$$cap_appname-config:/var/www/localhost/htdocs/protected/config' + - '$$cap_appname-uploads:/var/www/localhost/htdocs/uploads' + - '$$cap_appname-modules:/var/www/localhost/htdocs/protected/modules' +caproverOneClickApp: + variables: + - label: Database Root Password + description: Password to manage to the database + defaultValue: $$cap_gen_random_hex(16) + id: $$cap_mysql_root_passwd + - label: Database Name + description: The name of humhub db + defaultValue: humhub + id: $$cap_mysql_database_name + - label: Database User + description: The username to for humhub to connect to database + defaultValue: humhub + id: $$cap_mysql_user + - label: Database Password + description: Password to connect to the database + defaultValue: $$cap_gen_random_hex(16) + id: $$cap_mysql_passwd + - id: $$cap_humhub_version + label: Version Tag + description: Check out their Docker page for the valid tags https://hub.docker.com/r/mriedmann/humhub/tags + defaultValue: '1.6.2' + - id: $$cap_humhub_protocol + label: Server protocol + description: Use http if you don't want to enable secure connection + defaultValue: 'https' + - id: $$cap_humhub_auto_install + label: AutoSetup + description: If this is set to false (advised) you will have to provide the DB creds on first run. + defaultValue: 'false' + instructions: + start: |- + HumHub is an open source social network + GitHub: https://github.com/humhub/humhub + end: |- + All done. The first time you access the instance you will be requested to input the db details. + The database host is srv-captain--$$cap_appname-db and the password and user will be the ones you chose + IMPORTANT: The default protocol is HTTPS, so please turn on HTTPS! + displayName: HumHub + isOfficial: false + description: A open source social media network + documentation: https://github.com/humhub/humhub diff --git a/public/v4/logos/humhub.png b/public/v4/logos/humhub.png new file mode 100644 index 0000000000000000000000000000000000000000..b2fd98ff95671806fbe6cc70c0aac7f023ff502a GIT binary patch literal 1668 zcmV-~27CF5P)jocblmGw);z>k7RCt{2 zon4!%It+!e4WRNNDt_RI|Nmzm;W@MSs0C5G5}2L$YA(EBO+%ZmCM5_IMNt$*Q4~c{ z6h%=KMNt$*Q4~c{6h-+TGR9K#hc$+zAI3jqX_aSD+)!lsitO(aX{bEUZaL4%NI#Z0 zOp?d5N5b9umxQa`xb(F|n`HXYYLc`|UptW5%1%34P1&cfCC(QU4pzH)DzM=^Urux& z?S7EJW*~Rf6r@Je)&cpqPLEk0$-FVRoBJ)CsO9I3SM zm2M9uu2>~f;4$4EDsjOn(cYgfaZnJSMDv+z@h&ObbYlj)+n(7oNgQwhgJQuVkSZ~O zv$N$;n4r_`KGqDA%?IYM2N(ts;aa=`{7tkN*J3z1csk`xw_QY7g<#iW2w@GKYZC5s z+rbK`P$J!a1ew=xxfcEGa0(e+i#{@#Li6zP#;H8^k4pYmq*LUe`V?PP|7cbq9<$BF7P-bswO|iEn|1!L@Kd zwR?Vxd=DW@Hrlb}bM9rlFZc9ZLq*V# zt%9*lJ`OkmrW!9W6fMpp1`9u9IS}l^T<{9#qGM|BkYm>sK-r9kQl;QmUcdUipDK_J=V+=6XBE)`VQ$f zXS_lZ?ZuzXVtjFmaHn&@P<|tFZ40YHT1qPPUa0RvG){RgsF7^c19mz89d=44AC^y?} zw%u;Z#kAkMZmtV?%dZrtD2k#eilQirq9}@@D2k#eilQirq9}^;FY+J#f?npn8{ugH O0000