From e8e4cf03fdc5bd8b1ae7b777f54f69b5e8cfb0b6 Mon Sep 17 00:00:00 2001 From: Kasra Bigdeli Date: Thu, 3 Jun 2021 08:33:26 -0400 Subject: Renamed seafile apps as per discussion in https://github.com/caprover/one-click-apps/pull/422 --- public/v4/apps/seafile-nomemcached.yml | 73 ++++++++++++++++++++++++++++++++ public/v4/apps/seafile-official.yml | 73 -------------------------------- public/v4/apps/seafile.yml | 2 +- public/v4/logos/seafile-nomemcached.png | Bin 0 -> 47392 bytes public/v4/logos/seafile-official.png | Bin 47392 -> 0 bytes 5 files changed, 74 insertions(+), 74 deletions(-) create mode 100644 public/v4/apps/seafile-nomemcached.yml delete mode 100644 public/v4/apps/seafile-official.yml create mode 100644 public/v4/logos/seafile-nomemcached.png delete mode 100644 public/v4/logos/seafile-official.png diff --git a/public/v4/apps/seafile-nomemcached.yml b/public/v4/apps/seafile-nomemcached.yml new file mode 100644 index 0000000..ed0f977 --- /dev/null +++ b/public/v4/apps/seafile-nomemcached.yml @@ -0,0 +1,73 @@ +captainVersion: 4 +version: '2.0' +services: + $$cap_appname-db: + image: mariadb:$$cap_mariadb_version + environment: + MYSQL_ROOT_PASSWORD: '$$cap_mariadb_root_pswd' # Requested, set the root's password of MySQL service. + MYSQL_LOG_CONSOLE: 'true' + volumes: + - $$cap_appname-db-data:/var/lib/mysql # Requested, specifies the path to MySQL data persistent store. + caproverExtra: + notExposeAsWebApp: true + + $$cap_appname: + image: seafileltd/seafile-mc:$$cap_seafile_version + volumes: + - $$cap_appname-data:/shared # Requested, specifies the path to Seafile data persistent store. + environment: + DB_HOST: 'srv-captain--$$cap_appname-db' + DB_ROOT_PASSWD: '$$cap_mariadb_root_pswd' + TIME_ZONE: '$$cap_timezone' + SEAFILE_ADMIN_EMAIL: '$$cap_admin_email' # Specifies Seafile admin user, default is 'me@example.com'. + SEAFILE_ADMIN_PASSWORD: '$$cap_admin_pswd' + SEAFILE_SERVER_HOSTNAME: '$$cap_seafile_hostname' + depends_on: + - $$cap_appname-db + +caproverOneClickApp: + variables: + - id: '$$cap_seafile_version' + label: Seafile Version + defaultValue: '8.0.4' + description: Check out their Docker page for the valid tags https://hub.docker.com/r/seafileltd/seafile-mc/tags + validRegex: '/.{1,}/' + - id: '$$cap_mariadb_version' + label: MariaDB Version + defaultValue: '10.6' + description: Check out their Docker page for the valid tags https://hub.docker.com/_/mariadb?tab=tags + validRegex: '/.{1,}/' + - id: '$$cap_mariadb_root_pswd' + label: MariaDB Root Password + defaultValue: '$$cap_gen_random_hex(32)' + description: Default password for root user of MariaDB. Must have at least 8 chars, 1 letter and 1 number + - id: '$$cap_timezone' + label: 'Seafile Timezone' + defaultValue: 'Etc/UTC' + description: Timezone that Seafile should use + - id: '$$cap_admin_email' + label: Seafile Admin Email + description: Email for admin user of Seafile + defaultValue: 'admin@seafile.com' + - id: '$$cap_admin_pswd' + label: Seafile Admin Password + description: Password for admin user of Seafile. Must have at least 8 chars, 1 letter and 1 number + - id: '$$cap_seafile_hostname' + label: Seafile Hostname + description: Hostname of Seafile instance (that will be used by it in future) + + instructions: + start: |- + Seafile is an open source file sync&share solution designed for high reliability, performance and productivity. + Sync, share and collaborate across devices and teams. + Build your team's knowledge base with Seafile's built-in Wiki feature. + end: |- + Congratulations, you have successfully deployed Seafile instance! + + Your app will soon be available at http://$$cap_appname.$$cap_root_domain/ + + Don't forget to add specified hostname to Seafile domains! + displayName: Seafile (Official) + isOfficial: true + description: Reliable and Performant File Sync and Share Solution + documentation: Taken from https://manual.seafile.com/ diff --git a/public/v4/apps/seafile-official.yml b/public/v4/apps/seafile-official.yml deleted file mode 100644 index ed0f977..0000000 --- a/public/v4/apps/seafile-official.yml +++ /dev/null @@ -1,73 +0,0 @@ -captainVersion: 4 -version: '2.0' -services: - $$cap_appname-db: - image: mariadb:$$cap_mariadb_version - environment: - MYSQL_ROOT_PASSWORD: '$$cap_mariadb_root_pswd' # Requested, set the root's password of MySQL service. - MYSQL_LOG_CONSOLE: 'true' - volumes: - - $$cap_appname-db-data:/var/lib/mysql # Requested, specifies the path to MySQL data persistent store. - caproverExtra: - notExposeAsWebApp: true - - $$cap_appname: - image: seafileltd/seafile-mc:$$cap_seafile_version - volumes: - - $$cap_appname-data:/shared # Requested, specifies the path to Seafile data persistent store. - environment: - DB_HOST: 'srv-captain--$$cap_appname-db' - DB_ROOT_PASSWD: '$$cap_mariadb_root_pswd' - TIME_ZONE: '$$cap_timezone' - SEAFILE_ADMIN_EMAIL: '$$cap_admin_email' # Specifies Seafile admin user, default is 'me@example.com'. - SEAFILE_ADMIN_PASSWORD: '$$cap_admin_pswd' - SEAFILE_SERVER_HOSTNAME: '$$cap_seafile_hostname' - depends_on: - - $$cap_appname-db - -caproverOneClickApp: - variables: - - id: '$$cap_seafile_version' - label: Seafile Version - defaultValue: '8.0.4' - description: Check out their Docker page for the valid tags https://hub.docker.com/r/seafileltd/seafile-mc/tags - validRegex: '/.{1,}/' - - id: '$$cap_mariadb_version' - label: MariaDB Version - defaultValue: '10.6' - description: Check out their Docker page for the valid tags https://hub.docker.com/_/mariadb?tab=tags - validRegex: '/.{1,}/' - - id: '$$cap_mariadb_root_pswd' - label: MariaDB Root Password - defaultValue: '$$cap_gen_random_hex(32)' - description: Default password for root user of MariaDB. Must have at least 8 chars, 1 letter and 1 number - - id: '$$cap_timezone' - label: 'Seafile Timezone' - defaultValue: 'Etc/UTC' - description: Timezone that Seafile should use - - id: '$$cap_admin_email' - label: Seafile Admin Email - description: Email for admin user of Seafile - defaultValue: 'admin@seafile.com' - - id: '$$cap_admin_pswd' - label: Seafile Admin Password - description: Password for admin user of Seafile. Must have at least 8 chars, 1 letter and 1 number - - id: '$$cap_seafile_hostname' - label: Seafile Hostname - description: Hostname of Seafile instance (that will be used by it in future) - - instructions: - start: |- - Seafile is an open source file sync&share solution designed for high reliability, performance and productivity. - Sync, share and collaborate across devices and teams. - Build your team's knowledge base with Seafile's built-in Wiki feature. - end: |- - Congratulations, you have successfully deployed Seafile instance! - - Your app will soon be available at http://$$cap_appname.$$cap_root_domain/ - - Don't forget to add specified hostname to Seafile domains! - displayName: Seafile (Official) - isOfficial: true - description: Reliable and Performant File Sync and Share Solution - documentation: Taken from https://manual.seafile.com/ diff --git a/public/v4/apps/seafile.yml b/public/v4/apps/seafile.yml index f5e6aff..2eff950 100644 --- a/public/v4/apps/seafile.yml +++ b/public/v4/apps/seafile.yml @@ -65,7 +65,7 @@ caproverOneClickApp: Seafile has been successfully deployed! App is available as http://$$cap_appname.$$cap_root_domain displayName: Seafile - isOfficial: false + isOfficial: true description: >- Seafile is an open source cloud storage system with file encryption and group sharing. diff --git a/public/v4/logos/seafile-nomemcached.png b/public/v4/logos/seafile-nomemcached.png new file mode 100644 index 0000000..ff00b9d Binary files /dev/null and b/public/v4/logos/seafile-nomemcached.png differ diff --git a/public/v4/logos/seafile-official.png b/public/v4/logos/seafile-official.png deleted file mode 100644 index ff00b9d..0000000 Binary files a/public/v4/logos/seafile-official.png and /dev/null differ -- cgit v1.2.3