diff options
| author | kgnfth <[email protected]> | 2020-12-05 14:35:40 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-12-05 08:35:40 -0500 |
| commit | 6a3f167a4f152a262ff1cdb01a47769eac355030 (patch) | |
| tree | 1736f13261daa21b9aaea91a298a4eb0d45a8a6e | |
| parent | ab85f84422ae56dd049d1d37751eaa41bf6c7279 (diff) | |
| download | caprover-one-click-apps-6a3f167a4f152a262ff1cdb01a47769eac355030.tar.gz caprover-one-click-apps-6a3f167a4f152a262ff1cdb01a47769eac355030.zip | |
Added Monica #288 (#311)
* Added Monica #288
* Monica minor improvements
| -rw-r--r-- | public/v4/apps/monica.yml | 62 | ||||
| -rw-r--r-- | public/v4/logos/monica.png | bin | 0 -> 22989 bytes |
2 files changed, 62 insertions, 0 deletions
diff --git a/public/v4/apps/monica.yml b/public/v4/apps/monica.yml new file mode 100644 index 0000000..f22bb16 --- /dev/null +++ b/public/v4/apps/monica.yml @@ -0,0 +1,62 @@ +captainVersion: 4 +services: + # Monica + $$cap_appname: + depends_on: + - $$cap_appname-mariadb + image: monica@$$cap_monica_version + restart: 'always' + environment: + APP_KEY: $$cap_gen_random_hex(32) + DB_HOST: srv-captain--$$cap_appname-mariadb + DB_DATABASE: $$cap_mariadb-db + DB_USERNAME: $$cap_mariadb-user + DB_PASSWORD: $$cap_mariadb-pass + volumes: + - $$cap_appname-storage:/var/www/html/storage + # MariaDB + $$cap_appname-mariadb: + image: mariadb:$$cap_mariadb_version + environment: + MYSQL_RANDOM_ROOT_PASSWORD: '1' + MYSQL_DATABASE: $$cap_mariadb-db + MYSQL_USER: $$cap_mariadb-user + MYSQL_PASSWORD: $$cap_mariadb-pass + volumes: + - $$cap_appname-mariadb-data:/var/lib/mysql + restart: unless-stopped + caproverExtra: + notExposeAsWebApp: 'true' +caproverOneClickApp: + variables: + - id: $$cap_monica_version + label: Monica Docker Hash + defaultValue: sha256:469001036f96018b94312dd017678123aa23d56816ba6402ed03c6a8d1805a92 + description: Starts with 'sha256:'. Find on https://hub.docker.com/_/monica?tab=tags. Use the hash from Apache tag otherwise it won't work. + - id: $$cap_mariadb_version + label: MariaDB Version + defaultValue: '10.5.6' + description: Checkout their docker page for the valid tags https://hub.docker.com/r/library/mariadb/tags/ + validRegex: /^([^\s^\/])+$/ + - id: $$cap_mariadb-db + label: MariaDB Database + description: Database name for Monica + defaultValue: 'monica' + - id: $$cap_mariadb-user + label: MariaDB User + description: Database User for Monica + defaultValue: 'monica' + - id: $$cap_mariadb-pass + label: MariaDB database user password + description: Super secret database user password + instructions: + start: >- + Monica is a great open source personal relationship management system to organize the interactions with your loved ones. + end: >- + Aaaand you're done! 😄 + + Wait approximately 1 minutes until all migrations are done and then access Monica at http://$$cap_appname.$$cap_root_domain from your host system. If this looks ok, add your first user account. + displayName: 'Monica' + isOfficial: true + description: Monica is a great open source personal relationship management system to organize the interactions with your loved ones. + documentation: Taken from https://hub.docker.com/_/monica diff --git a/public/v4/logos/monica.png b/public/v4/logos/monica.png Binary files differnew file mode 100644 index 0000000..36d23cf --- /dev/null +++ b/public/v4/logos/monica.png |
