summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/mysql.yml
diff options
context:
space:
mode:
authorKasra Bigdeli <[email protected]>2020-08-16 19:37:46 -0400
committerKasra Bigdeli <[email protected]>2020-08-16 19:37:46 -0400
commit723ca5cca53bf5a569cb951b77f7a9b71fe088bd (patch)
tree0cfbfb92e39cdd2a3ed7470eecbb98fdd27f8490 /public/v4/apps/mysql.yml
parent9ae0159100c53fcd357ec82cb819e3a863b34c57 (diff)
downloadcaprover-one-click-apps-723ca5cca53bf5a569cb951b77f7a9b71fe088bd.tar.gz
caprover-one-click-apps-723ca5cca53bf5a569cb951b77f7a9b71fe088bd.zip
Fixed build
Diffstat (limited to 'public/v4/apps/mysql.yml')
-rw-r--r--public/v4/apps/mysql.yml80
1 files changed, 41 insertions, 39 deletions
diff --git a/public/v4/apps/mysql.yml b/public/v4/apps/mysql.yml
index 3a94ff9..817c0d6 100644
--- a/public/v4/apps/mysql.yml
+++ b/public/v4/apps/mysql.yml
@@ -1,44 +1,46 @@
captainVersion: 4
services:
- $$cap_appname-db:
- image: mysql:$$cap_mysql_version
- volumes:
- - $$cap_appname-db-data:/var/lib/mysql
- restart: always
- environment:
- MYSQL_ROOT_PASSWORD: $$cap_db_pass
- caproverExtra:
- notExposeAsWebApp: "true"
+ $$cap_appname-db:
+ image: mysql:$$cap_mysql_version
+ volumes:
+ - $$cap_appname-db-data:/var/lib/mysql
+ restart: always
+ environment:
+ MYSQL_ROOT_PASSWORD: $$cap_db_pass
+ caproverExtra:
+ notExposeAsWebApp: 'true'
caproverOneClickApp:
- variables:
- - id: $$cap_mysql_version
- label: MySQL Version
- defaultValue: "5.7"
- description: Check out their Docker page for the valid tags
- https://hub.docker.com/r/library/mysql/tags/
- validRegex: /^([^\s^\/])+$/
- - id: $$cap_db_pass
- label: MySQL Root password
- description: ""
- validRegex: /.{1,}/
- instructions:
- start: >-
- MySQL is the world's most popular open source database. With its proven
- performance, reliability and ease-of-use, MySQL has become the leading
- database choice for web-based applications, covering the entire range from
- personal projects and websites, via e-commerce and information services,
- all the way to high profile web properties including Facebook, Twitter,
- YouTube, Yahoo! and many more.
+ variables:
+ - id: $$cap_mysql_version
+ label: MySQL Version
+ defaultValue: '5.7'
+ description: Check out their Docker page for the valid tags
+ https://hub.docker.com/r/library/mysql/tags/
+ validRegex: /^([^\s^\/])+$/
+ - id: $$cap_db_pass
+ label: MySQL Root password
+ description: ''
+ validRegex: /.{1,}/
+ instructions:
+ start: >-
+ MySQL is the world's most popular open source database. With its proven
+ performance, reliability and ease-of-use, MySQL has become the leading
+ database choice for web-based applications, covering the entire range from
+ personal projects and websites, via e-commerce and information services,
+ all the way to high profile web properties including Facebook, Twitter,
+ YouTube, Yahoo! and many more.
- After installation on CapRover, it will be available as srv-captain--YOUR_CONTAINER_NAME at port 3306 to other CapRover apps.
+ After installation on CapRover, it will be available as srv-captain--YOUR_CONTAINER_NAME at port 3306 to other CapRover apps.
- Enter your MySQL Configuration parameters and click on next. It will take about a minute for the process to finish.
- end: "MySQL is deployed and available as srv-captain--$$cap_appname-db:3306 to
- other apps. For example with NodeJS, you do 'var con =
- mysql.createConnection({ host: 'srv-captain--$$cap_appname-db', user:
- 'root', password: '*********' });'"
- displayName: MySQL
- isOfficial: true
- description: MySQL is a relational database management system based on SQL
- documentation: Taken from https://docs.docker.com/compose/mysql/ port mapping
- removed from WP as it's not needed
+ Enter your MySQL Configuration parameters and click on next. It will take about a minute for the process to finish.
+ end:
+ "MySQL is deployed and available as srv-captain--$$cap_appname-db:3306 to
+ other apps. For example with NodeJS, you do 'var con =
+ mysql.createConnection({ host: 'srv-captain--$$cap_appname-db', user:
+ 'root', password: '*********' });'"
+ displayName: MySQL
+ isOfficial: true
+ description: MySQL is a relational database management system based on SQL
+ documentation:
+ Taken from https://docs.docker.com/compose/mysql/ port mapping
+ removed from WP as it's not needed