diff options
| author | Andre Bellafronte Kutianski <[email protected]> | 2021-11-13 19:26:38 -0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-11-13 14:26:38 -0800 |
| commit | 4a2939bc753f3c21980af098f44e6f9b5bf9ee94 (patch) | |
| tree | 32363b21ebca56f4495ac8bcb875c8af493d0451 | |
| parent | 0b21d28eb67306f475e5766ffd8ed4c8b7424da6 (diff) | |
| download | caprover-one-click-apps-4a2939bc753f3c21980af098f44e6f9b5bf9ee94.tar.gz caprover-one-click-apps-4a2939bc753f3c21980af098f44e6f9b5bf9ee94.zip | |
add percona server for mysql in one-click-apps (#564)
* app(add): percona server for mysql
* app(add): percona server for mysql
| -rw-r--r-- | public/v4/apps/percona.yml | 41 | ||||
| -rw-r--r-- | public/v4/logos/percona.png | bin | 0 -> 13787 bytes |
2 files changed, 41 insertions, 0 deletions
diff --git a/public/v4/apps/percona.yml b/public/v4/apps/percona.yml new file mode 100644 index 0000000..75be51c --- /dev/null +++ b/public/v4/apps/percona.yml @@ -0,0 +1,41 @@ +captainVersion: 4 +services: + $$cap_appname-percona: + image: percona:$$cap_percona_version + volumes: + - $$cap_appname-percona-data:/var/lib/mysql + restart: always + environment: + MYSQL_ROOT_PASSWORD: $$cap_db_pass + caproverExtra: + dockerfileLines: + - FROM percona:$$cap_percona_version + - CMD ["--character-set-server=$$cap_charset", "--collation-server=$$cap_collation", "--skip-character-set-client-handshake"] + notExposeAsWebApp: 'true' +caproverOneClickApp: + variables: + - id: $$cap_percona_version + label: Percona Version + defaultValue: 'ps-8.0' + description: Check out their Docker page for the valid tags https://hub.docker.com/_/mariadb?tab=tags + validRegex: /^([^\s^\/])+$/ + - id: $$cap_db_pass + label: Percona Root password + description: '' + validRegex: /.{1,}/ + defaultValue: $$cap_gen_random_hex(12) + - id: $$cap_charset + label: Default server character set + description: See the MariaDB website for supported character sets (https://mariadb.com/kb/en/library/supported-character-sets-and-collations/#character-sets) + defaultValue: utf8mb4 + - id: $$cap_collation + label: Default server collation + description: See the MariaDB website for supported collations (https://mariadb.com/kb/en/library/supported-character-sets-and-collations/#collations) + defaultValue: utf8mb4_unicode_ci + instructions: + start: "Percona Server for MySQL is a fork of the MySQL relational database management system created by Percona. It aims to retain close compatibility to the official MySQL releases, while focusing on performance and increased visibility into server operations. Also included in Percona Server is XtraDB, Percona's fork of the InnoDB Storage Engine." + end: "Percona is deployed and available as srv-captain--$$cap_appname-percona:3306 to other apps. For example with NodeJS, you do 'var con = mysql.createConnection({ host: 'srv-captain--$$cap_appname-percona', user: 'root', password: '*********' });'" + displayName: Percona Server + isOfficial: true + description: Percona Server for MySQL is a fork of the MySQL relational database management system created by Percona. + documentation: https://www.percona.com/software/mysql-database/percona-server diff --git a/public/v4/logos/percona.png b/public/v4/logos/percona.png Binary files differnew file mode 100644 index 0000000..f2a6f41 --- /dev/null +++ b/public/v4/logos/percona.png |
