summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLuis Lopes <[email protected]>2023-01-18 05:26:04 +0000
committerGitHub <[email protected]>2023-01-17 21:26:04 -0800
commit8894afbe8b61d392f24d2cd8dab2b1a3dc9ab1f8 (patch)
tree7ef43c2425ee74171dc7f55cb3c3083da0679968
parent89b6b681ee0cc3d586102f31646a341867c30e20 (diff)
downloadcaprover-one-click-apps-8894afbe8b61d392f24d2cd8dab2b1a3dc9ab1f8.tar.gz
caprover-one-click-apps-8894afbe8b61d392f24d2cd8dab2b1a3dc9ab1f8.zip
Mysql dump (#837)
* Mysql backup * added logo * Reviews
-rw-r--r--public/v4/apps/mysql-backup.yml46
-rw-r--r--public/v4/logos/mysql-backup.pngbin0 -> 11049 bytes
2 files changed, 46 insertions, 0 deletions
diff --git a/public/v4/apps/mysql-backup.yml b/public/v4/apps/mysql-backup.yml
new file mode 100644
index 0000000..2418e8b
--- /dev/null
+++ b/public/v4/apps/mysql-backup.yml
@@ -0,0 +1,46 @@
+captainVersion: 4
+services:
+ $$cap_appname-db:
+ image: databack/mysql-backup:$$cap_mysql_backup_version
+ restart: always
+ environment:
+ DB_SERVER: $$cap_db_server
+ DB_PORT: $$cap_db_port
+ DB_USER: $$cap_db_user
+ DB_PASS: $$cap_db_password
+ caproverExtra:
+ notExposeAsWebApp: 'true'
+caproverOneClickApp:
+ variables:
+ - id: $$cap_mysql_backup_version
+ label: Mysql Backup Version
+ defaultValue: 'v0.11.0'
+ description: Check out their Docker page for the valid tags https://hub.docker.com/r/databack/mysql-backup/tags
+ validRegex: /^([^\s^\/])+$/
+ - id: $$cap_db_server
+ label: Database Server
+ defaultValue: 'srv-captain--'
+ description: Database Server
+ validRegex: /^([^\s^\/])+$/
+ - id: $$cap_db_port
+ label: Database Port
+ defaultValue: '3306'
+ description: Database Port
+ validRegex: /^([^\s^\/])+$/
+ - id: $$cap_db_user
+ label: Database User
+ defaultValue: 'root'
+ description: Database User
+ validRegex: /^([^\s^\/])+$/
+ - id: $$cap_db_password
+ label: Database Password
+ defaultValue: ''
+ description: Database Password
+ validRegex: /^([^\s^\/])+$/
+ instructions:
+ start: This installation just aims to create the initial container, you should at the end revise the documentation (https://hub.docker.com/r/databack/mysql-backup) and set the extra environment parameters that fit your needs. Such as scheduling and to where you want to send your backups (AWS, SMB, etc)
+ end: 'Mysql backup has been successfully deployed. Check https://hub.docker.com/r/databack/mysql-backup extra environments and set to your needs.'
+ displayName: Mysql-Backup
+ isOfficial: false
+ description: mysql-backup is a simple way to do MySQL database backups and restores when the database is running in a container.
+ documentation: Taken from https://hub.docker.com/r/databack/mysql-backup
diff --git a/public/v4/logos/mysql-backup.png b/public/v4/logos/mysql-backup.png
new file mode 100644
index 0000000..06b1c10
--- /dev/null
+++ b/public/v4/logos/mysql-backup.png
Binary files differ