├── README.md ├── YAML_Specification.txt ├── csgo.yaml ├── dokuwiki.yaml ├── drupal.yaml ├── elasticsearch.yaml ├── gallery3.yaml ├── joomla.yaml ├── koken.yaml ├── limesurvey.yaml ├── magento.yaml ├── mantis.yaml ├── memcached.yaml ├── mongodb.yaml ├── mybb.yaml ├── odoo.yaml ├── opencart.yaml ├── owncloud.yaml ├── phpbb.yaml ├── phpmyadmin.yaml ├── postgres.yaml ├── redis.yaml ├── redmine.yaml ├── sugarcrm.yaml ├── tf2.yaml ├── wordpress.yaml ├── wordpress_elasticsearch.yaml └── wordpress_with_backup.yaml /README.md: -------------------------------------------------------------------------------- 1 | # KuberDock predefined application examples 2 | 3 | This directory contains a number of different examples of predefined applications 4 | for [KuberDock](http://www.kuberdock.com). 5 | -------------------------------------------------------------------------------- /YAML_Specification.txt: -------------------------------------------------------------------------------- 1 | The following specification is made using an example of YAML file, through which you can create a Pod with official 2 | WordPress and MySQL container images configured for the WordPress web-site comprehensive work. You can find YAML file 3 | in our github repository (https://github.com/cloudlinux/kuberdock_predefined_apps). 4 | Note that you can use variables to set proper values for YAML file fields, transfer values from one field to another, 5 | generate value automatically and to show variables values in pre- and postDescription. For example: 6 | To define field values use format: 7 | $VAR_NAME|default:default_value|some text to show” 8 | where: 9 | $VAR_NAME - variable name that can be used in other parts of YAML file; 10 | default - this variable default value. If enter "autogen", then this value will be autogenerated (8 characters, 11 | lower case, letters and numbers). For cPanel use “user_domain_list”, to enter the domans and subdomains list for 12 | user to choose; 13 | some text to show - title for a field specified by a user; 14 | For pre-, postDescription and cPanel sections use %VAR_NAME% (between percent symbols). This will show $VAR_NAME value 15 | in pre- or postDescription. 16 | To use a variable in some other part of YAML file use syntax $VAR_NAME$. This will return value of variable $VAR_NAME. 17 | Note that you can use global variables in YAML. Their values can not be set. Use percent symbol (e.g. %PUBLIC_ADDRESS%) 18 | to show global variables values. Available global variables: 19 | 20 | PUBLIC_ADDRESS - returns Public IP allocated to the pod; 21 | 22 | USER_DOMAIN - returns main user domain in cPanel. 23 | 24 | YAML File Description: 25 | 26 | ++++++++++++++++++++++++ 27 | apiVersion: v1 28 | kind: ReplicationController 29 | ++++++++++++++++++++++++ 30 | 31 | ++++++++++++++++++++++++ 32 | metadata: 33 | name:$APP_NAME|default:wordpress|app name$ 34 | ++++++++++++++++++++++++ 35 | 36 | metadata - application name in cPanel and Pod name in KuberDock at the same time. 37 | name:$APP_NAME|default:wordpress|app name$ - the name will be set to "wordpress" but it could be changed. 38 | 39 | ++++++++++++++++++++++++ 40 | kuberdock: 41 | icon: url_to_icon 42 | packageID: 0 43 | preDescription: | 44 | You are installing the application [b]WordPress[/b]. 45 | The WordPress rich content management system can utilize plugins, widgets, and themes. 46 | All the components needed for this application correct work will also be installed: [b]MySQL[/b] server. 47 | Choose the amount of resources or use recommended parameters. 48 | When you click "Order now", you will get to order processing page. 49 | postDescription: | 50 | You have installed [b]WordPress![/b] 51 | To access [b]WordPress[/b] use this link: [url]http://%PUBLIC_ADDRESS%[/url] 52 | name: Wordpress 53 | 54 | ++++++++++++++++++++++++ 55 | 56 | kuberdock section defines Pod parameters for KuberDock: 57 | icon - link to application icon in .png; 58 | packageID - optional, package ID in KuberDock database. If this parameter is not specified in YAML, 59 | then package_id value will equal 0 when started from KuberDock, or equal to value from Application defaults 60 | when started from cPanel. 61 | preDescription - text to show user before application start, will be displayed on the page with plans; 62 | postDescription - text to show user after application start. BBCode can be used to format text. Note 63 | that if you use YAML in cPanel then write [url]http://%APP_DOMAIN%[url] instead of 64 | [url]http://%PUBLIC_ADDRESS%[/url]. APP_DOMAIN must be equal to domain parameter in proxy section. 65 | name - defines application name for user in cPanel web-interface. 66 | 67 | ++++++++++++++++++++++++ 68 | appPackages: 69 | - name: S 70 | goodFor: up to 100 users 71 | publicIP: false 72 | packagePostDescription: | 73 | Special description in a specific package for the application 74 | pods: 75 | - 76 | name: $APP_NAME$ 77 | kubeType: 1 78 | containers: 79 | - name: mysql 80 | kubes: 1 81 | - name: wordpress 82 | kubes: 1 83 | persistentDisks: 84 | - name: mysql-persistent-storage 85 | pdSize: 1 86 | - name: wordpress-persistent-storage 87 | pdSize: 1 88 | - name: M 89 | recommended: yes 90 | goodFor: up to 100K visitors 91 | publicIP: true 92 | pods: 93 | - 94 | name: $APP_NAME$ 95 | ++++++++++++++++++++++++ 96 | 97 | appPackages - starts describing packages available for user to start predefined application; a bunch 98 | of resources allocated to a Pod and to containers in it. In one YAML can be 4 or less appPackages. 99 | name - appPackage name. We recommend to use 3 or less words in the field (e.g. -S, -M, -XL, -XXL) 100 | because it is good for existing theme. 101 | recommended - only one plan can be recommended, it will be highlighted in web-interface. 102 | goodFor - short text to show to user. 103 | publicIP - defines if Public IP is available for this appPackage. If container parameter for isPublic 104 | port in specification is "true", then publicIP should be "true" as well, to assign public IP to user. If 105 | publicIP value is "false", then public IP will not be assigned. 106 | packagePostDescription - use this description if you need to explain the difference between application 107 | usage in each package. For example, if you have not provide public IP in one of the packages, then postDescription 108 | for a whole YAML cannot be used. 109 | pods - resources allocated to each pod. 110 | name - name of the pod for which resources are allocated. 111 | kubeType - Kube type ID in KuberDock database. 112 | containers - describes Kubes number to be assigned to each container in YAML. 113 | name - container name in container specification below. 114 | kubes - number of Kubes for this container. 115 | persistentDisks - persistent discs capacity. 116 | name - persistent disk name. 117 | pdSize - persistent disk size in GB. 118 | 119 | ++++++++++++++++++++++++ 120 | proxy: 121 | wordpress: 122 | container: wordpress 123 | domain: $APP_DOMAIN|default:user_domain_list|Select your domain$ 124 | ++++++++++++++++++++++++ 125 | 126 | proxy - sub-section is required for cPanel to do proxy to user domain. Not used in our original YAML for 127 | Wordpress application. This is just an example. You can set as many path as you need: 128 | wordpress - path after domain, for example: http://domain.com/wordpress; 129 | container - container image name used in YAML for which path will be used; 130 | domain - show user domain list during predefined application setup to use with that path. 131 | You can set paths for each container image in YAML. 132 | 133 | ++++++++++++++++++++++++ 134 | spec: 135 | template: 136 | metadata: 137 | labels: 138 | name: $APP_NAME$ 139 | ++++++++++++++++++++++++ 140 | 141 | spec - section starts describing each YAML container specification. 142 | In template subsection we need to have metadata, where name field must be the same variable as 143 | in name field of metadata section above. This is required for KuberDock system pod name. 144 | 145 | ++++++++++++++++++++++++ 146 | spec: 147 | volumes: 148 | - name: mysql-persistent-storage 149 | persistentDisk: 150 | pdName: wordpress_mysql_$PD_RAND|default:autogen|PD rand$ 151 | - name: wordpress-persistent-storage 152 | persistentDisk: 153 | pdName: wordpress_www_$PD_RAND$ 154 | ++++++++++++++++++++++++ 155 | 156 | spec subsection starts describing pod specification. We begin to describe persistent volumes that 157 | will be used in the pod: 158 | name - this is a name of volume to be used in container. 159 | persistentDisk - if this volume uses some of persistent storages (ceph for example). 160 | pdName - name of persistent disk within persistent storage. We use $PD_RAND$ variable to autogenerate 161 | random part of name. That will give possibility to create different volumes names for each user. 162 | 163 | ++++++++++++++++++++++++ 164 | restartPolicy: "Always" 165 | ++++++++++++++++++++++++ 166 | 167 | restartPolicy field describe which restart policy will be used for this pod. 168 | 169 | ++++++++++++++++++++++++ 170 | resolve: ["mysql", "wordpress"] 171 | ++++++++++++++++++++++++ 172 | 173 | resolve field allows to resolve dns-name within a pod. This part is not used in YAML file for Wordpress 174 | application from our github repository. But, for example, Redmine needs to resolve dns-name mysql. 175 | You can add more dns-names, separated by space. 176 | 177 | ++++++++++++++++++++++++ 178 | containers: 179 | name: wordpress 180 | image: wordpress:4.4 181 | ++++++++++++++++++++++++ 182 | 183 | containers field shows containers list within the pod. 184 | name - name of a container within the pod. 185 | image - container image name in DockerHub and a tag of image after “:”. You can find a tag in DockerHub 186 | registry in Tag tab on container image page. 187 | 188 | ++++++++++++++++++++++++ 189 | env: 190 | - name: WORDPRESS_DB_USER 191 | value: "wordpress" 192 | - name: WORDPRESS_DB_NAME 193 | value: "wordpress" 194 | - name: WORDPRESS_DB_PASSWORD 195 | value: $MYSQL_USER_PASSWORD$ 196 | - name: WORDPRESS_DB_HOST 197 | value: "127.0.0.1" 198 | ++++++++++++++++++++++++ 199 | 200 | env - begins a list of environment variables of this container image “mysql:5” 201 | name - environment variable name. 202 | value - environment variable value. 203 | Note that it is recommended to specify value in quotes. If value consists of digits only, then quotation 204 | marks are required (for example, “1234”). If you use variable in value parameter, then quotes are not required. 205 | Note that to connect containers within the same pod you need to use IP 127.0.0.1 instead localhost. 206 | 207 | ++++++++++++++++++++++++ 208 | ports: 209 | - containerPort: 80 210 | protocol: TCP 211 | podPort: 8080 212 | isPublic: true 213 | ++++++++++++++++++++++++ 214 | 215 | ports field begins a list of ports to expose for this container image. 216 | containerPort - ports number to be exposed. 217 | protocol - protocol type for this port. 218 | podPort - defines Pod port for this containerPort. Learn more about Pod port here. If podPort value 219 | is missing, it equals to containerPort by default. 220 | isPublic - expose port to PublicIP. If you want to make this port available from the web, then 221 | this value must be "true". 222 | If at least one PublicIP parameter in the whole YAML is "true", then Public IP will be assigned. 223 | 224 | ++++++++++++++++++++++++ 225 | volumeMounts: 226 | - mountPath: /var/lib/mysql 227 | name: wordpress-persistent 228 | kdCopyFromImage: true 229 | ++++++++++++++++++++++++ 230 | 231 | volumeMounts begins a list of container directories which will be mounted to persistent storage or 232 | persistent local storage. It depends on type of volumes above. 233 | mountPath - mount path within the container. 234 | name - name of persistent storage to be used (name parameter from volumes section). 235 | kdCopyFromImage - If set to true contents of the mountPath folder will be 236 | coppied from the docker image the container is created from on PODs creation. False by default. 237 | ++++++++++++++++++++++++ 238 | name: mysql 239 | image: mysql:5 240 | env: 241 | - name: MYSQL_DATABASE 242 | value: "wordpress" 243 | - name: MYSQL_USER 244 | value: "wordpress" 245 | - name: MYSQL_PASSWORD 246 | value: $MYSQL_USER_PASSWORD|default:autogen|mysql password$ 247 | - name: MYSQL_ROOT_PASSWORD 248 | value: $MYSQL_ROOT_PASSWORD|default:autogen|mysql password$ 249 | ports: 250 | - containerPort: 3306 251 | volumeMounts: 252 | - mountPath: /var/lib/mysql 253 | name: mysql-persistent-storage 254 | ++++++++++++++++++++++++ 255 | 256 | Here we describe the next MySQL container image in the pod. 257 | -------------------------------------------------------------------------------- /csgo.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:csgo| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing [b]Counter-Strike: Global Offensive[/b]. 9 | Counter-Strike: Global Offensive (CS:GO) is an online first-person shooter video 10 | game developed by Hidden Path Entertainment and Valve Corporation 11 | Choose the amount of resources or use recommended parameters set by default. 12 | First choose package. 13 | [b]Important![/b] Before the order you should get steam token from http://steamcommunity.com/dev/managegameservers 14 | Please add AppID "730" and disired description for your new CS:GO server. 15 | Copy "Login Token" and add it into the field "Steam Token" 16 | When you click "Order now", you will get to order processing page. 17 | postDescription: | 18 | You have installed [b]CS:GO![/b] 19 | Please find more information about CS:GO software on the official website [url]http://counter-strike.net[/url] 20 | Your server is ready and you can use %PUBLIC_ADDRESS% to access your server. 21 | 22 | # required for cPanel to do proxy to user`s domain 23 | # proxy: 24 | # root: 25 | # container: memcached 26 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 27 | appPackages: 28 | - name: S 29 | goodFor: beginner 30 | publicIP: true 31 | pods: 32 | - 33 | name: $APP_NAME$ 34 | kubeType: 0 35 | containers: 36 | - name: csgo 37 | kubes: 7 38 | - name: M 39 | recommended: yes 40 | goodFor: regular use 41 | publicIP: true 42 | pods: 43 | - 44 | name: $APP_NAME$ 45 | kubeType: 1 46 | containers: 47 | - name: csgo 48 | kubes: 7 49 | - name: L 50 | goodFor: business 51 | publicIP: true 52 | pods: 53 | - 54 | name: $APP_NAME$ 55 | kubeType: 2 56 | containers: 57 | - name: csgo 58 | kubes: 7 59 | spec: 60 | template: 61 | metadata: 62 | labels: 63 | name: $APP_NAME$ 64 | spec: 65 | restartPolicy: "Always" 66 | containers: 67 | - 68 | name: csgo 69 | image: hub.kuberdock.com/csgo:1 70 | args: 71 | - -game 72 | - csgo 73 | - -console 74 | - -usercon 75 | - +game_type 76 | - "$GAME_TYPE|default:0|Choose game type$" 77 | - +game_mode 78 | - "$GAME_MODE|default:0|Choose game mode$" 79 | - +mapgroup 80 | - $MAP_GROUP|default:mg_bomb|Choose map group$ 81 | - +map 82 | - $MAP|default:de_dust2|Choose your map$ 83 | - +sv_setsteamaccount 84 | - $STEAM_TOKEN|default:|Insert your Steam Token$ 85 | ports: 86 | - containerPort: 27015 87 | podPort: 27015 88 | protocol: TCP 89 | isPublic: True 90 | - containerPort: 27015 91 | podPort: 27015 92 | protocol: UDP 93 | isPublic: True 94 | 95 | -------------------------------------------------------------------------------- /dokuwiki.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:dokuwiki| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]DokuWiki[/b]. 9 | [b]DokuWiki[/b] is a simple to use and highly versatile Open Source wiki software that doesn't require a database. 10 | Choose the amount of resources or use recommended parameters set by default. 11 | First choose package. 12 | When you click "Order now", you will get to order processing page. 13 | postDescription: | 14 | You have installed [b]DokuWiki[/b] 15 | Please find more information about DokuWiki on the official site [url]https://www.dokuwiki.org[/url] 16 | To access [b]DokuWiki[/b] use this link: [url]http://%PUBLIC_ADDRESS%/install.php[/url] 17 | Your [b]DokuWiki[/b] installation is available here: [url]http://%PUBLIC_ADDRESS%/[/url] 18 | Please, restart pod after installation. 19 | 20 | # required for cPanel to do proxy to user`s domain 21 | # proxy: 22 | # root: 23 | # container: dokuwiki 24 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 25 | appPackages: 26 | - name: S 27 | goodFor: beginner 28 | publicIP: true 29 | pods: 30 | - 31 | name: $APP_NAME$ 32 | kubeType: 0 33 | containers: 34 | - name: dokuwiki 35 | kubes: 2 36 | persistentDisks: 37 | - name: dokuwiki-persistent-storage 38 | pdSize: 1 39 | - name: dokuwiki-tpl-persistent-storage 40 | pdSize: 1 41 | - name: dokuwiki-conf-persistent-storage 42 | pdSize: 1 43 | - name: dokuwiki-data-persistent-storage 44 | pdSize: 1 45 | - name: dokuwiki-plugins-persistent-storage 46 | pdSize: 1 47 | - name: M 48 | recommended: yes 49 | goodFor: regular use 50 | publicIP: true 51 | pods: 52 | - 53 | name: $APP_NAME$ 54 | kubeType: 1 55 | containers: 56 | - name: dokuwiki 57 | kubes: 2 58 | persistentDisks: 59 | - name: dokuwiki-persistent-storage 60 | pdSize: 1 61 | - name: dokuwiki-tpl-persistent-storage 62 | pdSize: 1 63 | - name: dokuwiki-conf-persistent-storage 64 | pdSize: 1 65 | - name: dokuwiki-data-persistent-storage 66 | pdSize: 1 67 | - name: dokuwiki-plugins-persistent-storage 68 | pdSize: 1 69 | - name: L 70 | goodFor: business 71 | publicIP: true 72 | pods: 73 | - 74 | name: $APP_NAME$ 75 | kubeType: 2 76 | containers: 77 | - name: dokuwiki 78 | kubes: 2 79 | persistentDisks: 80 | - name: dokuwiki-persistent-storage 81 | pdSize: 1 82 | - name: dokuwiki-tpl-persistent-storage 83 | pdSize: 1 84 | - name: dokuwiki-conf-persistent-storage 85 | pdSize: 1 86 | - name: dokuwiki-data-persistent-storage 87 | pdSize: 2 88 | - name: dokuwiki-plugins-persistent-storage 89 | pdSize: 1 90 | spec: 91 | template: 92 | metadata: 93 | labels: 94 | name: $APP_NAME$ 95 | spec: 96 | volumes: 97 | - name: dokuwiki-persistent-storage 98 | persistentDisk: 99 | pdName: dokuwiki_www_$PD_RAND|default:autogen|PD rand$ 100 | - name: dokuwiki-conf-persistent-storage 101 | persistentDisk: 102 | pdName: dokuwiki_conf_$PD_RAND$ 103 | - name: dokuwiki-tpl-persistent-storage 104 | persistentDisk: 105 | pdName: dokuwiki_tpl_$PD_RAND$ 106 | - name: dokuwiki-plugins-persistent-storage 107 | persistentDisk: 108 | pdName: dokuwiki_plugins_$PD_RAND$ 109 | - name: dokuwiki-data-persistent-storage 110 | persistentDisk: 111 | pdName: dokuwiki_data_$PD_RAND$ 112 | restartPolicy: "Always" 113 | containers: 114 | - 115 | name: dokuwiki 116 | image: kuberdock/dokuwiki:2016-06-26a 117 | ports: 118 | - containerPort: 80 119 | isPublic: True 120 | readinessProbe: 121 | httpGet: 122 | path: / 123 | scheme: HTTP 124 | port: 80 125 | timeoutSeconds: 30 126 | initialDelaySeconds: 5 127 | volumeMounts: 128 | - mountPath: /dokuwiki 129 | name: dokuwiki-persistent-storage 130 | kdCopyFromImage: true 131 | - mountPath: /dokuwiki/data 132 | name: dokuwiki-data-persistent-storage 133 | kdCopyFromImage: true 134 | - mountPath: /dokuwiki/lib/plugins 135 | name: dokuwiki-plugins-persistent-storage 136 | kdCopyFromImage: true 137 | - mountPath: /dokuwiki/conf 138 | name: dokuwiki-conf-persistent-storage 139 | kdCopyFromImage: true 140 | - mountPath: /dokuwiki/lib/tpl 141 | name: dokuwiki-tpl-persistent-storage 142 | kdCopyFromImage: true 143 | 144 | -------------------------------------------------------------------------------- /drupal.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:drupal| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]Drupal[/b]. 9 | Drupal is an open source content management platform powering millions of websites and applications. 10 | All the components needed for this application correct work will also be installed: [b]MySQL[/b] server. 11 | Choose the amount of resources or use recommended parameters set by default. 12 | First choose package. 13 | When you click "Order now", you will get to order processing page. 14 | postDescription: | 15 | You have installed [b]Drupal![/b] 16 | Please find more information about Drupal software on the official website [url]https://www.drupal.org/[/url] 17 | To access [b]Drupal[/b] use this link: [url]http://%PUBLIC_ADDRESS%[/url] 18 | You can access [b]MySQL[/b] using credentials: 19 | [b]Host:[/b] 127.0.0.1 20 | [b]Database:[/b] drupal 21 | [b]Login:[/b] drupal 22 | [b]Password:[/b] $MYSQL_USER_PASSWORD$ 23 | 24 | We recommend you to save the credentials. 25 | 26 | # required for cPanel to do proxy to user`s domain 27 | # proxy: 28 | # root: 29 | # container: drupal 30 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 31 | appPackages: 32 | - name: S 33 | goodFor: beginner 34 | publicIP: true 35 | pods: 36 | - 37 | name: $APP_NAME$ 38 | kubeType: 0 39 | containers: 40 | - name: mysql 41 | kubes: 6 42 | - name: drupal 43 | kubes: 4 44 | persistentDisks: 45 | - name: mysql-persistent-storage 46 | pdSize: 1 47 | - name: drupal-persistent-storage 48 | pdSize: 1 49 | - name: M 50 | recommended: yes 51 | goodFor: regular use 52 | publicIP: true 53 | pods: 54 | - 55 | name: $APP_NAME$ 56 | kubeType: 1 57 | containers: 58 | - name: mysql 59 | kubes: 6 60 | - name: drupal 61 | kubes: 4 62 | persistentDisks: 63 | - name: mysql-persistent-storage 64 | pdSize: 1 65 | - name: drupal-persistent-storage 66 | pdSize: 1 67 | - name: L 68 | goodFor: business 69 | publicIP: true 70 | pods: 71 | - 72 | name: $APP_NAME$ 73 | kubeType: 2 74 | containers: 75 | - name: mysql 76 | kubes: 6 77 | - name: drupal 78 | kubes: 4 79 | persistentDisks: 80 | - name: mysql-persistent-storage 81 | pdSize: 2 82 | - name: drupal-persistent-storage 83 | pdSize: 2 84 | spec: 85 | template: 86 | metadata: 87 | labels: 88 | name: $APP_NAME$ 89 | spec: 90 | volumes: 91 | - name: mysql-persistent-storage 92 | persistentDisk: 93 | pdName: drupal_mysql_$PD_RAND|default:autogen|PD rand$ 94 | - name: drupal-persistent-storage 95 | persistentDisk: 96 | pdName: drupal_html_$PD_RAND$ 97 | restartPolicy: "Always" 98 | containers: 99 | - 100 | name: mysql 101 | image: kuberdock/mysql:5.7 102 | env: 103 | - name: MYSQL_DATABASE 104 | value: drupal 105 | - name: MYSQL_USER 106 | value: drupal 107 | - name: MYSQL_PASSWORD 108 | value: $MYSQL_USER_PASSWORD|default:autogen|mysql user password$ 109 | - name: MYSQL_ROOT_PASSWORD 110 | value: $MYSQL_ROOT_PASSWORD|default:autogen|mysql root password$ 111 | - name: MYSQL_AUTO_MEMORY_ALLOCATE 112 | value: $MYSQL_AUTO_MEMORY_ALLOCATE|default:innodb|Please choose default MySQL engine "innodb" or "myisam"$ 113 | ports: 114 | - containerPort: 3306 115 | readinessProbe: 116 | tcpSocket: 117 | port: 3306 118 | initialDelaySeconds: 5 119 | volumeMounts: 120 | - mountPath: /var/lib/mysql 121 | name: mysql-persistent-storage 122 | - 123 | name: drupal 124 | image: drupal:8 125 | ports: 126 | - containerPort: 80 127 | isPublic: True 128 | readinessProbe: 129 | httpGet: 130 | path: /robots.txt 131 | scheme: HTTP 132 | port: 80 133 | timeoutSeconds: 30 134 | initialDelaySeconds: 5 135 | volumeMounts: 136 | - mountPath: /var/www/html 137 | name: drupal-persistent-storage 138 | kdCopyFromImage: true 139 | workingDir: /var/www/html 140 | 141 | -------------------------------------------------------------------------------- /elasticsearch.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:elasticsearch| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]ElasticSearch[/b]. 9 | Elasticsearch is a powerful open source search and analytics engine that makes data easy to explore. 10 | Choose the amount of resources or use recommended parameters set by default. 11 | First choose package. 12 | When you click "Order now", you will get to order processing page. 13 | postDescription: | 14 | You have installed [b]ElasticSearch![/b] 15 | Please find more information about ElasticSearch software on the official website [url]https://www.elastic.co[/url] 16 | To access [b]ElasticSearch[/b] use your podIP with ports: 17 | [b]Http port:[/b] $ELASTIC_HTTP_HOST_PORT$ 18 | [b]Tcp port:[/b] $ELASTIC_TCP_HOST_PORT$ 19 | 20 | # required for cPanel to do proxy to user`s domain 21 | # proxy: 22 | # root: 23 | # container: elastic 24 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 25 | appPackages: 26 | - name: S 27 | goodFor: beginner 28 | pods: 29 | - 30 | name: $APP_NAME$ 31 | kubeType: 0 32 | containers: 33 | - name: elastic 34 | kubes: 6 35 | persistentDisks: 36 | - name: elastic-persistent-storage 37 | pdSize: 1 38 | - name: M 39 | recommended: yes 40 | goodFor: regular use 41 | pods: 42 | - 43 | name: $APP_NAME$ 44 | kubeType: 1 45 | containers: 46 | - name: elastic 47 | kubes: 6 48 | persistentDisks: 49 | - name: elastic-persistent-storage 50 | pdSize: 1 51 | - name: L 52 | goodFor: business 53 | pods: 54 | - 55 | name: $APP_NAME$ 56 | kubeType: 2 57 | containers: 58 | - name: elastic 59 | kubes: 6 60 | persistentDisks: 61 | - name: elastic-persistent-storage 62 | pdSize: 2 63 | spec: 64 | template: 65 | metadata: 66 | labels: 67 | name: $APP_NAME$ 68 | spec: 69 | volumes: 70 | - name: elastic-persistent-storage 71 | persistentDisk: 72 | pdName: elastic_pd_$PD_RAND|default:autogen|PD rand$ 73 | restartPolicy: "Always" 74 | containers: 75 | - name: elastic 76 | image: elasticsearch:2 77 | ports: 78 | - containerPort: 9200 79 | podPort: $ELASTIC_HTTP_HOST_PORT|default:9200|Enter ElasticSearch http host port$ 80 | isPublic: False 81 | - containerPort: 9300 82 | podPort: $ELASTIC_TCP_HOST_PORT|default:9300|Enter ElasticSearch tcp host port$ 83 | isPublic: False 84 | readinessProbe: 85 | httpGet: 86 | path: / 87 | scheme: HTTP 88 | port: 9200 89 | initialDelaySeconds: 5 90 | volumeMounts: 91 | - mountPath: /usr/share/elasticsearch/data 92 | name: elastic-persistent-storage 93 | 94 | -------------------------------------------------------------------------------- /gallery3.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:gallery| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]Gallery[/b]. 9 | Gallery is the open source web based photo album organizer. 10 | All the components needed for this application correct work will also be installed: [b]MySQL[/b] server. 11 | Choose the amount of resources or use recommended parameters set by default. 12 | First choose package. 13 | When you click "Order now", you will get to order processing page. 14 | postDescription: | 15 | You have installed [b]Gallery![/b] 16 | Please find more information about Gallery3 software on the official website [url]http://galleryproject.org/[/url] 17 | To access [b]Gallery[/b] use this link: [url]http://%PUBLIC_ADDRESS%[/url] 18 | You can access [b]MySQL[/b] using credentials: 19 | [b]Host:[/b] 127.0.0.1 20 | [b]Database:[/b] gallery3 21 | [b]Login:[/b] gallery 22 | [b]Password:[/b] $MYSQL_USER_PASSWORD$ 23 | 24 | We recommend you to save the credentials. 25 | 26 | # required for cPanel to do proxy to user`s domain 27 | # proxy: 28 | # root: 29 | # container: gallery 30 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 31 | appPackages: 32 | - name: S 33 | goodFor: beginner 34 | publicIP: true 35 | pods: 36 | - 37 | name: $APP_NAME$ 38 | kubeType: 0 39 | containers: 40 | - name: mysql 41 | kubes: 6 42 | - name: gallery 43 | kubes: 1 44 | persistentDisks: 45 | - name: mysql-persistent-storage 46 | pdSize: 1 47 | - name: gallery-persistent-storage 48 | pdSize: 1 49 | - name: M 50 | recommended: yes 51 | goodFor: regular use 52 | publicIP: true 53 | pods: 54 | - 55 | name: $APP_NAME$ 56 | kubeType: 1 57 | containers: 58 | - name: mysql 59 | kubes: 6 60 | - name: gallery 61 | kubes: 1 62 | persistentDisks: 63 | - name: mysql-persistent-storage 64 | pdSize: 1 65 | - name: gallery-persistent-storage 66 | pdSize: 1 67 | - name: L 68 | goodFor: business 69 | publicIP: true 70 | pods: 71 | - 72 | name: $APP_NAME$ 73 | kubeType: 2 74 | containers: 75 | - name: mysql 76 | kubes: 6 77 | - name: gallery 78 | kubes: 1 79 | persistentDisks: 80 | - name: mysql-persistent-storage 81 | pdSize: 2 82 | - name: gallery-persistent-storage 83 | pdSize: 2 84 | spec: 85 | template: 86 | metadata: 87 | labels: 88 | name: $APP_NAME$ 89 | spec: 90 | volumes: 91 | - name: mysql-persistent-storage 92 | persistentDisk: 93 | pdName: gallery_mysql_$PD_RAND|default:autogen|PD rand$ 94 | - name: gallery-persistent-storage 95 | persistentDisk: 96 | pdName: gallery_www_$PD_RAND$ 97 | restartPolicy: "Always" 98 | containers: 99 | - 100 | name: mysql 101 | image: kuberdock/mysql:5.7 102 | env: 103 | - name: MYSQL_DATABASE 104 | value: gallery3 105 | - name: MYSQL_USER 106 | value: gallery 107 | - name: MYSQL_PASSWORD 108 | value: $MYSQL_USER_PASSWORD|default:autogen|mysql user password$ 109 | - name: MYSQL_ROOT_PASSWORD 110 | value: $MYSQL_ROOT_PASSWORD|default:autogen|mysql root password$ 111 | - name: MYSQL_AUTO_MEMORY_ALLOCATE 112 | value: $MYSQL_AUTO_MEMORY_ALLOCATE|default:innodb|Please choose default MySQL engine "innodb" or "myisam"$ 113 | ports: 114 | - containerPort: 3306 115 | readinessProbe: 116 | tcpSocket: 117 | port: 3306 118 | initialDelaySeconds: 5 119 | volumeMounts: 120 | - mountPath: /var/lib/mysql 121 | name: mysql-persistent-storage 122 | - 123 | name: gallery 124 | image: kuberdock/gallery3:3.0.9 125 | ports: 126 | - containerPort: 80 127 | isPublic: True 128 | readinessProbe: 129 | httpGet: 130 | path: / 131 | scheme: HTTP 132 | port: 80 133 | initialDelaySeconds: 5 134 | volumeMounts: 135 | - mountPath: /var/www/var 136 | name: gallery-persistent-storage 137 | 138 | -------------------------------------------------------------------------------- /joomla.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:joomla| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]Joomla[/b]. 9 | Joomla! is an open source content management system. 10 | All the components needed for this application correct work will also be installed: [b]MySQL[/b] server. 11 | Choose the amount of resources or use recommended parameters set by default. 12 | First choose package. 13 | When you click "Order now", you will get to order processing page. 14 | postDescription: | 15 | You have installed [b]Joomla![/b] 16 | Please find more information about Joomla software on the official website [url]https://www.joomla.org/[/url] 17 | To access [b]Joomla[/b] use this link: [url]http://%PUBLIC_ADDRESS%[/url] 18 | You can access [b]MySQL[/b] using credentials: 19 | [b]Host:[/b] 127.0.0.1 20 | [b]Database:[/b] joomla 21 | [b]Login:[/b] joomla 22 | [b]Password:[/b] $MYSQL_USER_PASSWORD$ 23 | 24 | We recommend you to save the credentials. 25 | 26 | # required for cPanel to do proxy to user`s domain 27 | # proxy: 28 | # root: 29 | # container: joomla 30 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 31 | appPackages: 32 | - name: S 33 | goodFor: beginner 34 | publicIP: true 35 | pods: 36 | - 37 | name: $APP_NAME$ 38 | kubeType: 0 39 | containers: 40 | - name: mysql 41 | kubes: 6 42 | - name: joomla 43 | kubes: 2 44 | persistentDisks: 45 | - name: mysql-persistent-storage 46 | pdSize: 1 47 | - name: joomla-persistent-storage 48 | pdSize: 1 49 | - name: M 50 | recommended: yes 51 | goodFor: regular use 52 | publicIP: true 53 | pods: 54 | - 55 | name: $APP_NAME$ 56 | kubeType: 1 57 | containers: 58 | - name: mysql 59 | kubes: 6 60 | - name: joomla 61 | kubes: 2 62 | persistentDisks: 63 | - name: mysql-persistent-storage 64 | pdSize: 1 65 | - name: joomla-persistent-storage 66 | pdSize: 1 67 | - name: L 68 | goodFor: business 69 | publicIP: true 70 | pods: 71 | - 72 | name: $APP_NAME$ 73 | kubeType: 2 74 | containers: 75 | - name: mysql 76 | kubes: 6 77 | - name: joomla 78 | kubes: 2 79 | persistentDisks: 80 | - name: mysql-persistent-storage 81 | pdSize: 2 82 | - name: joomla-persistent-storage 83 | pdSize: 2 84 | spec: 85 | template: 86 | metadata: 87 | labels: 88 | name: $APP_NAME$ 89 | spec: 90 | volumes: 91 | - name: mysql-persistent-storage 92 | persistentDisk: 93 | pdName: joomla_mysql_$PD_RAND|default:autogen|PD rand$ 94 | - name: joomla-persistent-storage 95 | persistentDisk: 96 | pdName: joomla_www_$PD_RAND$ 97 | restartPolicy: "Always" 98 | containers: 99 | - 100 | name: mysql 101 | image: kuberdock/mysql:5.7 102 | env: 103 | - name: MYSQL_DATABASE 104 | value: joomla 105 | - name: MYSQL_USER 106 | value: joomla 107 | - name: MYSQL_PASSWORD 108 | value: $MYSQL_USER_PASSWORD|default:autogen|mysql user password$ 109 | - name: MYSQL_ROOT_PASSWORD 110 | value: $MYSQL_ROOT_PASSWORD|default:autogen|mysql root password$ 111 | - name: MYSQL_AUTO_MEMORY_ALLOCATE 112 | value: $MYSQL_AUTO_MEMORY_ALLOCATE|default:innodb|Please choose default MySQL engine "innodb" or "myisam"$ 113 | ports: 114 | - containerPort: 3306 115 | readinessProbe: 116 | tcpSocket: 117 | port: 3306 118 | initialDelaySeconds: 5 119 | volumeMounts: 120 | - mountPath: /var/lib/mysql 121 | name: mysql-persistent-storage 122 | - 123 | name: joomla 124 | image: joomla:3 125 | env: 126 | - name: JOOMLA_DB_PASSWORD 127 | value: $MYSQL_USER_PASSWORD$ 128 | - name: JOOMLA_DB_HOST 129 | value: "127.0.0.1" 130 | - name: JOOMLA_DB_USER 131 | value: joomla 132 | - name: JOOMLA_DB_NAME 133 | value: joomla 134 | ports: 135 | - containerPort: 80 136 | isPublic: True 137 | readinessProbe: 138 | httpGet: 139 | path: / 140 | scheme: HTTP 141 | port: 80 142 | initialDelaySeconds: 5 143 | volumeMounts: 144 | - mountPath: /var/www/html 145 | name: joomla-persistent-storage 146 | workingDir: /var/www/html 147 | 148 | -------------------------------------------------------------------------------- /koken.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:Koken| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]Koken[/b]. 9 | [b]Koken[/b] is a free website publishing system developed for photographers, designers and creative DIYs 10 | Choose the amount of resources or use recommended parameters set by default. 11 | First choose package. 12 | When you click "Order now", you will get to order processing page. 13 | postDescription: | 14 | You have installed [b]Koken[/b] 15 | Please find more information about Koken on the official helpsite [url]http://help.koken.me/[/url] 16 | To access [b]Koken[/b] use this link: [url]http://%PUBLIC_ADDRESS%/[/url] 17 | 18 | Please, restart pod after installation. 19 | 20 | # required for cPanel to do proxy to user`s domain 21 | # proxy: 22 | # root: 23 | # container: koken 24 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 25 | appPackages: 26 | - name: S 27 | goodFor: beginner 28 | publicIP: true 29 | pods: 30 | - 31 | name: $APP_NAME$ 32 | kubeType: 0 33 | containers: 34 | - name: koken 35 | kubes: 5 36 | persistentDisks: 37 | - name: koken-www-persistent-storage 38 | pdSize: 1 39 | persistentDisks: 40 | - name: koken-mysql-persistent-storage 41 | pdSize: 1 42 | - name: M 43 | recommended: yes 44 | goodFor: regular use 45 | publicIP: true 46 | pods: 47 | - 48 | name: $APP_NAME$ 49 | kubeType: 1 50 | containers: 51 | - name: koken 52 | kubes: 5 53 | persistentDisks: 54 | - name: koken-www-persistent-storage 55 | pdSize: 1 56 | persistentDisks: 57 | - name: koken-mysql-persistent-storage 58 | pdSize: 1 59 | - name: L 60 | goodFor: business 61 | publicIP: true 62 | pods: 63 | - 64 | name: $APP_NAME$ 65 | kubeType: 2 66 | containers: 67 | - name: koken 68 | kubes: 5 69 | persistentDisks: 70 | - name: koken-www-persistent-storage 71 | pdSize: 2 72 | persistentDisks: 73 | - name: koken-mysql-persistent-storage 74 | pdSize: 2 75 | spec: 76 | template: 77 | metadata: 78 | labels: 79 | name: $APP_NAME$ 80 | spec: 81 | volumes: 82 | - name: koken-www-persistent-storage 83 | persistentDisk: 84 | pdName: koken_www_$PD_RAND|default:autogen|PD rand$ 85 | - name: koken-mysql-persistent-storage 86 | persistentDisk: 87 | pdName: koken_mysql_$PD_RAND$ 88 | restartPolicy: "Always" 89 | containers: 90 | - 91 | name: koken 92 | image: kuberdock/koken-lemp:2014.08 93 | env: 94 | - name: PATH 95 | value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 96 | - name: HOME 97 | value: /root 98 | ports: 99 | - containerPort: 8080 100 | podPort: 80 101 | isPublic: True 102 | readinessProbe: 103 | httpGet: 104 | path: / 105 | scheme: HTTP 106 | port: 80 107 | initialDelaySeconds: 5 108 | volumeMounts: 109 | - mountPath: /usr/share/nginx/www 110 | name: koken-www-persistent-storage 111 | - mountPath: /var/lib/mysql 112 | name: koken-mysql-persistent-storage 113 | -------------------------------------------------------------------------------- /limesurvey.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:limesurvey| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]LimeSurvey[/b]. 9 | LimeSurvey - the most popular Free Open Source Software survey tool on the web. 10 | Choose the amount of resources or use recommended parameters set by default. 11 | First choose package. 12 | When you click "Order now", you will get to order processing page. 13 | postDescription: | 14 | You have installed [b]LimeSurvey![/b] 15 | Please find more information about LimeSurvey software on the official website [url]https://www.limesurvey.org/[/url] 16 | To access [b]LimeSurvey[/b] use this link: [url]http://%PUBLIC_ADDRESS%[/url] 17 | You can access [b]MySQL[/b] using credentials: 18 | [b]Host:[/b] 127.0.0.1 19 | [b]Database:[/b] limesurvey 20 | [b]Login:[/b] root 21 | [b]Password:[/b] without password 22 | 23 | # required for cPanel to do proxy to user`s domain 24 | # proxy: 25 | # root: 26 | # container: limesurvey 27 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 28 | appPackages: 29 | - name: S 30 | goodFor: beginner 31 | publicIP: true 32 | pods: 33 | - 34 | name: $APP_NAME$ 35 | kubeType: 0 36 | containers: 37 | - name: limesurvey 38 | kubes: 7 39 | persistentDisks: 40 | - name: limesurvey-persistent-storage 41 | pdSize: 1 42 | - name: M 43 | recommended: yes 44 | goodFor: regular use 45 | publicIP: true 46 | pods: 47 | - 48 | name: $APP_NAME$ 49 | kubeType: 1 50 | containers: 51 | - name: limesurvey 52 | kubes: 7 53 | persistentDisks: 54 | - name: limesurvey-persistent-storage 55 | pdSize: 1 56 | - name: L 57 | goodFor: business 58 | publicIP: true 59 | pods: 60 | - 61 | name: $APP_NAME$ 62 | kubeType: 2 63 | containers: 64 | - name: limesurvey 65 | kubes: 7 66 | persistentDisks: 67 | - name: limesurvey-persistent-storage 68 | pdSize: 2 69 | spec: 70 | template: 71 | metadata: 72 | labels: 73 | name: $APP_NAME$ 74 | spec: 75 | volumes: 76 | - name: mysql-persistent-storage 77 | persistentDisk: 78 | pdName: limesurvey_mysql_$PD_RAND|default:autogen|PD rand$ 79 | - name: limesurvey-persistent-storage 80 | persistentDisk: 81 | pdName: limesurvey_www_$PD_RAND$ 82 | restartPolicy: "Always" 83 | containers: 84 | - 85 | name: limesurvey 86 | image: kuberdock/limesurvey:2.50.1 87 | ports: 88 | - containerPort: 80 89 | isPublic: True 90 | readinessProbe: 91 | httpGet: 92 | path: / 93 | scheme: HTTP 94 | port: 80 95 | initialDelaySeconds: 5 96 | timeoutSeconds: 30 97 | volumeMounts: 98 | - mountPath: /var/lib/mysql 99 | name: mysql-persistent-storage 100 | - mountPath: /app 101 | name: limesurvey-persistent-storage 102 | kdCopyFromImage: true 103 | 104 | -------------------------------------------------------------------------------- /magento.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:magento| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]Magento[/b]. 9 | eCommerce software used to power your online store and can be downloaded for free. 10 | All the components needed for this application correct work will also be installed: [b]MySQL[/b] server. 11 | Choose the amount of resources or use recommended parameters set by default. 12 | First choose package. 13 | When you click "Order now", you will get to order processing page. 14 | postDescription: | 15 | You have installed [b]Magento![/b] 16 | Please find more information about Magento software on the official website [url]https://magento.com/[/url] 17 | Before you will be able to use your application please wait until statuses below will be "Running". 18 | To access [b]Magento[/b] use this link: [url]http://%PUBLIC_ADDRESS%[/url] 19 | You can access [b]MySQL[/b] using credentials: 20 | [b]Host:[/b] 127.0.0.1 21 | [b]Database:[/b] magento 22 | [b]Login:[/b] magento 23 | [b]Password:[/b] $MYSQL_USER_PASSWORD$ 24 | 25 | We recommend you to save the credentials. 26 | 27 | [b]Note:[/b] Please check "Skip Base URL Validation Before the Next Step" on "Configuration" step. 28 | 29 | # required for cPanel to do proxy to user`s domain 30 | # proxy: 31 | # root: 32 | # container: magento 33 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 34 | appPackages: 35 | - name: S 36 | goodFor: beginner 37 | publicIP: true 38 | pods: 39 | - 40 | name: $APP_NAME$ 41 | kubeType: 0 42 | containers: 43 | - name: mysql 44 | kubes: 6 45 | - name: magento 46 | kubes: 4 47 | persistentDisks: 48 | - name: mysql-persistent-storage 49 | pdSize: 1 50 | - name: magento-persistent-storage 51 | pdSize: 1 52 | - name: M 53 | recommended: yes 54 | goodFor: regular use 55 | publicIP: true 56 | pods: 57 | - 58 | name: $APP_NAME$ 59 | kubeType: 1 60 | containers: 61 | - name: mysql 62 | kubes: 6 63 | - name: magento 64 | kubes: 4 65 | persistentDisks: 66 | - name: mysql-persistent-storage 67 | pdSize: 1 68 | - name: magento-persistent-storage 69 | pdSize: 1 70 | - name: L 71 | goodFor: business 72 | publicIP: true 73 | pods: 74 | - 75 | name: $APP_NAME$ 76 | kubeType: 2 77 | containers: 78 | - name: mysql 79 | kubes: 6 80 | - name: magento 81 | kubes: 4 82 | persistentDisks: 83 | - name: mysql-persistent-storage 84 | pdSize: 2 85 | - name: magento-persistent-storage 86 | pdSize: 2 87 | spec: 88 | template: 89 | metadata: 90 | labels: 91 | name: $APP_NAME$ 92 | spec: 93 | volumes: 94 | - name: mysql-persistent-storage 95 | persistentDisk: 96 | pdName: magento_mysql_$PD_RAND|default:autogen|PD rand$ 97 | - name: magento-persistent-storage 98 | persistentDisk: 99 | pdName: magento_www_$PD_RAND$ 100 | restartPolicy: "Always" 101 | containers: 102 | - 103 | name: mysql 104 | image: kuberdock/mysql:5.7 105 | env: 106 | - name: MYSQL_DATABASE 107 | value: magento 108 | - name: MYSQL_USER 109 | value: magento 110 | - name: MYSQL_PASSWORD 111 | value: $MYSQL_USER_PASSWORD|default:autogen|mysql user password$ 112 | - name: MYSQL_ROOT_PASSWORD 113 | value: $MYSQL_ROOT_PASSWORD|default:autogen|mysql root password$ 114 | - name: MYSQL_AUTO_MEMORY_ALLOCATE 115 | value: $MYSQL_AUTO_MEMORY_ALLOCATE|default:innodb|Please choose default MySQL engine "innodb" or "myisam"$ 116 | ports: 117 | - containerPort: 3306 118 | readinessProbe: 119 | tcpSocket: 120 | port: 3306 121 | initialDelaySeconds: 5 122 | volumeMounts: 123 | - mountPath: /var/lib/mysql 124 | name: mysql-persistent-storage 125 | - 126 | name: magento 127 | image: kuberdock/magento:1.9.1.0 128 | ports: 129 | - containerPort: 80 130 | isPublic: True 131 | readinessProbe: 132 | tcpSocket: 133 | port: 80 134 | initialDelaySeconds: 5 135 | volumeMounts: 136 | - mountPath: /var/www/htdocs 137 | name: magento-persistent-storage 138 | kdCopyFromImage: true 139 | 140 | -------------------------------------------------------------------------------- /mantis.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:mantis| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]Mantis[/b]. 9 | [b]Mantis[/b] is an open source issue tracker that provides a delicate balance between simplicity and power. 10 | All the components needed for this application correct work will also be installed: [b]MySQL[/b] server. 11 | Choose the amount of resources or use recommended parameters set by default. 12 | First choose package. 13 | When you click "Order now", you will get to order processing page. 14 | postDescription: | 15 | You have installed [b]Mantis[/b] 16 | Please find more information about Mantis software on the official website [url]https://www.mantisbt.org/[/url] 17 | To access [b]Mantis[/b] use this link: [url]http://%PUBLIC_ADDRESS%[/url] 18 | You can access [b]MySQL[/b] using credentials: 19 | [b]Host:[/b] 127.0.0.1 20 | [b]Database:[/b] bugtracker 21 | [b]Login:[/b] mantis 22 | [b]Password:[/b] $MYSQL_USER_PASSWORD$ 23 | 24 | Please, read the application documentation: [url]https://www.mantisbt.org/documentation.php[/url] 25 | 26 | We recommend you to save the credentials. 27 | 28 | Please, restart pod after installation. 29 | 30 | # required for cPanel to do proxy to user`s domain 31 | # proxy: 32 | # root: 33 | # container: mantis 34 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 35 | appPackages: 36 | - name: S 37 | goodFor: beginner 38 | publicIP: true 39 | pods: 40 | - 41 | name: $APP_NAME$ 42 | kubeType: 0 43 | containers: 44 | - name: mysql 45 | kubes: 6 46 | - name: mantis 47 | kubes: 2 48 | persistentDisks: 49 | - name: mysql-persistent-storage 50 | pdSize: 1 51 | - name: mantis-persistent-storage 52 | pdSize: 1 53 | - name: M 54 | recommended: yes 55 | goodFor: regular use 56 | publicIP: true 57 | pods: 58 | - 59 | name: $APP_NAME$ 60 | kubeType: 1 61 | containers: 62 | - name: mysql 63 | kubes: 6 64 | - name: mantis 65 | kubes: 2 66 | persistentDisks: 67 | - name: mysql-persistent-storage 68 | pdSize: 1 69 | - name: mantis-persistent-storage 70 | pdSize: 1 71 | - name: L 72 | goodFor: business 73 | publicIP: true 74 | pods: 75 | - 76 | name: $APP_NAME$ 77 | kubeType: 2 78 | containers: 79 | - name: mysql 80 | kubes: 6 81 | - name: mantis 82 | kubes: 2 83 | persistentDisks: 84 | - name: mysql-persistent-storage 85 | pdSize: 2 86 | - name: mantis-persistent-storage 87 | pdSize: 2 88 | spec: 89 | template: 90 | metadata: 91 | labels: 92 | name: $APP_NAME$ 93 | spec: 94 | volumes: 95 | - name: mysql-persistent-storage 96 | persistentDisk: 97 | pdName: mantis_mysql_$PD_RAND|default:autogen|PD rand$ 98 | - name: mantis-persistent-storage 99 | persistentDisk: 100 | pdName: mantis_www_$PD_RAND$ 101 | restartPolicy: "Always" 102 | containers: 103 | - 104 | name: mysql 105 | image: kuberdock/mysql:5.7 106 | env: 107 | - name: MYSQL_DATABASE 108 | value: bugtracker 109 | - name: MYSQL_USER 110 | value: mantis 111 | - name: MYSQL_PASSWORD 112 | value: $MYSQL_USER_PASSWORD|default:autogen|mysql password$ 113 | - name: MYSQL_ROOT_PASSWORD 114 | value: $MYSQL_ROOT_PASSWORD|default:autogen|mysql password$ 115 | - name: MYSQL_AUTO_MEMORY_ALLOCATE 116 | value: $MYSQL_AUTO_MEMORY_ALLOCATE|default:innodb|Please choose default MySQL engine "innodb" or "myisam"$ 117 | ports: 118 | - containerPort: 3306 119 | readinessProbe: 120 | tcpSocket: 121 | port: 3306 122 | initialDelaySeconds: 5 123 | volumeMounts: 124 | - mountPath: /var/lib/mysql 125 | name: mysql-persistent-storage 126 | - 127 | name: mantis 128 | image: kuberdock/mantisbt:1.3.1 129 | ports: 130 | - containerPort: 80 131 | isPublic: True 132 | readinessProbe: 133 | httpGet: 134 | path: / 135 | scheme: HTTP 136 | port: 80 137 | initialDelaySeconds: 5 138 | volumeMounts: 139 | - mountPath: /var/www/html 140 | name: mantis-persistent-storage 141 | kdCopyFromImage: true 142 | workingDir: /var/www/html 143 | 144 | -------------------------------------------------------------------------------- /memcached.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:memcached| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]Memcached[/b]. 9 | Free and open source, high-performance, distributed memory object caching system. 10 | Choose the amount of resources or use recommended parameters set by default. 11 | First choose package. 12 | When you click "Order now", you will get to order processing page. 13 | postDescription: | 14 | You have installed [b]Memcached![/b] 15 | Please find more information about Memcached software on the official website [url]https://memcached.org/[/url] 16 | To access [b]Memcached[/b] use: 17 | [b]IP:[/b] %PUBLIC_ADDRESS% 18 | [b]Port:[/b] $MEMCACHED_HOST_PORT$ 19 | 20 | # required for cPanel to do proxy to user`s domain 21 | # proxy: 22 | # root: 23 | # container: memcached 24 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 25 | appPackages: 26 | - name: S 27 | goodFor: beginner 28 | publicIP: true 29 | pods: 30 | - 31 | name: $APP_NAME$ 32 | kubeType: 0 33 | containers: 34 | - name: memcached 35 | kubes: 1 36 | - name: M 37 | recommended: yes 38 | goodFor: regular use 39 | publicIP: true 40 | pods: 41 | - 42 | name: $APP_NAME$ 43 | kubeType: 1 44 | containers: 45 | - name: memcached 46 | kubes: 1 47 | - name: L 48 | goodFor: business 49 | publicIP: true 50 | pods: 51 | - 52 | name: $APP_NAME$ 53 | kubeType: 2 54 | containers: 55 | - name: memcached 56 | kubes: 1 57 | spec: 58 | template: 59 | metadata: 60 | labels: 61 | name: $APP_NAME$ 62 | spec: 63 | restartPolicy: "Always" 64 | containers: 65 | - 66 | name: memcached 67 | image: memcached:1 68 | ports: 69 | - containerPort: 11211 70 | podPort: $MEMCACHED_HOST_PORT|default:11211|Enter Memcached host port$ 71 | isPublic: True 72 | readinessProbe: 73 | tcpSocket: 74 | port: 11211 75 | initialDelaySeconds: 5 76 | 77 | -------------------------------------------------------------------------------- /mongodb.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:mongodb| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]MongoDB[/b]. 9 | MongoDB document databases provide high availability and easy scalability. 10 | Choose the amount of resources or use recommended parameters set by default. 11 | First choose package. 12 | When you click "Order now", you will get to order processing page. 13 | postDescription: | 14 | You have installed [b]MongoDB![/b] 15 | Please find more information about MongoDB software on the official website [url]https://www.mongodb.org/[/url] 16 | To access [b]MongoDB[/b] use: 17 | [b]IP:[/b] %PUBLIC_ADDRESS% 18 | [b]Port:[/b] $MONGO_HOST_PORT$ 19 | 20 | # required for cPanel to do proxy to user`s domain 21 | # proxy: 22 | # root: 23 | # container: mongodb 24 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 25 | appPackages: 26 | - name: S 27 | goodFor: beginner 28 | publicIP: true 29 | pods: 30 | - 31 | name: $APP_NAME$ 32 | kubeType: 0 33 | containers: 34 | - name: mongodb 35 | kubes: 2 36 | persistentDisks: 37 | - name: mongodb-persistent-storage 38 | pdSize: 1 39 | - name: M 40 | recommended: yes 41 | goodFor: regular use 42 | publicIP: true 43 | pods: 44 | - 45 | name: $APP_NAME$ 46 | kubeType: 1 47 | containers: 48 | - name: mongodb 49 | kubes: 2 50 | persistentDisks: 51 | - name: mongodb-persistent-storage 52 | pdSize: 1 53 | - name: L 54 | goodFor: business 55 | publicIP: true 56 | pods: 57 | - 58 | name: $APP_NAME$ 59 | kubeType: 2 60 | containers: 61 | - name: mongodb 62 | kubes: 2 63 | persistentDisks: 64 | - name: mongodb-persistent-storage 65 | pdSize: 2 66 | spec: 67 | template: 68 | metadata: 69 | labels: 70 | name: $APP_NAME$ 71 | spec: 72 | volumes: 73 | - name: mongodb-persistent-storage 74 | persistentDisk: 75 | pdName: mongodb_$PD_RAND|default:autogen|PD rand$ 76 | restartPolicy: "Always" 77 | containers: 78 | - 79 | name: mongodb 80 | image: mongo:3 81 | ports: 82 | - containerPort: 27017 83 | podPort: $MONGO_HOST_PORT|default:27017|Enter MongoDB host port$ 84 | isPublic: True 85 | readinessProbe: 86 | tcpSocket: 87 | port: 27017 88 | initialDelaySeconds: 5 89 | volumeMounts: 90 | - mountPath: /data/db 91 | name: mongodb-persistent-storage 92 | 93 | -------------------------------------------------------------------------------- /mybb.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:mybb| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]MyBB[/b]. 9 | [b]MyBB[/b] is the free and open source, intuitive, extensible, and incredibly powerful forum software you've been looking for. 10 | All the components needed for this application correct work will also be installed: [b]MySQL[/b] server. 11 | Choose the amount of resources or use recommended parameters set by default. 12 | First choose package. 13 | When you click "Order now", you will get to order processing page. 14 | postDescription: | 15 | You have installed [b]MyBB[/b] 16 | Please find more information about MyBB software on the official website [url]https://www.mybb.com/[/url] 17 | To access [b]MyBB[/b] use this link: [url]http://%PUBLIC_ADDRESS%[/url] 18 | You can access [b]MySQL[/b] using credentials: 19 | [b]Host:[/b] 127.0.0.1 20 | [b]Database:[/b] mybb 21 | [b]Login:[/b] mybb 22 | [b]Password:[/b] $MYSQL_USER_PASSWORD$ 23 | 24 | We recommend you to save the credentials. 25 | 26 | Please, restart pod after installation. 27 | 28 | # required for cPanel to do proxy to user`s domain 29 | # proxy: 30 | # root: 31 | # container: mybb 32 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 33 | appPackages: 34 | - name: S 35 | goodFor: beginner 36 | publicIP: true 37 | pods: 38 | - 39 | name: $APP_NAME$ 40 | kubeType: 0 41 | containers: 42 | - name: mysql 43 | kubes: 6 44 | - name: mybb 45 | kubes: 2 46 | persistentDisks: 47 | - name: mysql-persistent-storage 48 | pdSize: 1 49 | - name: mybb-persistent-storage 50 | pdSize: 1 51 | - name: M 52 | recommended: yes 53 | goodFor: regular use 54 | publicIP: true 55 | pods: 56 | - 57 | name: $APP_NAME$ 58 | kubeType: 1 59 | containers: 60 | - name: mysql 61 | kubes: 6 62 | - name: mybb 63 | kubes: 2 64 | persistentDisks: 65 | - name: mysql-persistent-storage 66 | pdSize: 1 67 | - name: mybb-persistent-storage 68 | pdSize: 1 69 | - name: L 70 | goodFor: business 71 | publicIP: true 72 | pods: 73 | - 74 | name: $APP_NAME$ 75 | kubeType: 2 76 | containers: 77 | - name: mysql 78 | kubes: 6 79 | - name: mybb 80 | kubes: 2 81 | persistentDisks: 82 | - name: mysql-persistent-storage 83 | pdSize: 2 84 | - name: mybb-persistent-storage 85 | pdSize: 2 86 | spec: 87 | template: 88 | metadata: 89 | labels: 90 | name: $APP_NAME$ 91 | spec: 92 | volumes: 93 | - name: mysql-persistent-storage 94 | persistentDisk: 95 | pdName: mybb_mysql_$PD_RAND|default:autogen|PD rand$ 96 | - name: mybb-persistent-storage 97 | persistentDisk: 98 | pdName: mybb_www_$PD_RAND$ 99 | restartPolicy: "Always" 100 | containers: 101 | - 102 | name: mysql 103 | image: kuberdock/mysql:5.7 104 | env: 105 | - name: MYSQL_DATABASE 106 | value: mybb 107 | - name: MYSQL_USER 108 | value: mybb 109 | - name: MYSQL_PASSWORD 110 | value: $MYSQL_USER_PASSWORD|default:autogen|mysql password$ 111 | - name: MYSQL_ROOT_PASSWORD 112 | value: $MYSQL_ROOT_PASSWORD|default:autogen|mysql password$ 113 | - name: MYSQL_AUTO_MEMORY_ALLOCATE 114 | value: $MYSQL_AUTO_MEMORY_ALLOCATE|default:innodb|Please choose default MySQL engine "innodb" or "myisam"$ 115 | ports: 116 | - containerPort: 3306 117 | readinessProbe: 118 | tcpSocket: 119 | port: 3306 120 | initialDelaySeconds: 5 121 | volumeMounts: 122 | - mountPath: /var/lib/mysql 123 | name: mysql-persistent-storage 124 | - 125 | name: mybb 126 | image: kuberdock/mybb:2015.10 127 | ports: 128 | - containerPort: 80 129 | isPublic: True 130 | readinessProbe: 131 | httpGet: 132 | path: / 133 | scheme: HTTP 134 | port: 80 135 | initialDelaySeconds: 5 136 | volumeMounts: 137 | - mountPath: /var/www/mybb 138 | kdCopyFromImage: true 139 | name: mybb-persistent-storage 140 | 141 | -------------------------------------------------------------------------------- /odoo.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:odoo| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]Odoo[/b]. 9 | Odoo (formerly known as OpenERP) is a suite of open-source business apps. 10 | All the components needed for this application correct work will also be installed: [b]PostgreSQL[/b] server. 11 | Choose the amount of resources or use recommended parameters set by default. 12 | First choose package. 13 | When you click "Order now", you will get to order processing page. 14 | postDescription: | 15 | You have installed [b]Odoo![/b] 16 | Please find more information about Odoo software on the official website [url]https://www.odoo.com/[/url] 17 | To access [b]Odoo[/b] use this link: [url]http://%PUBLIC_ADDRESS%:$ODOO_XMLRPC_HOST_PORT$[/url] 18 | [b]Odoo XML-RPC/HTTP port:[/b] $ODOO_XMLRPC_HOST_PORT$ 19 | [b]Odoo XML-RPC/HTTP secure port:[/b] $ODOO_XMLRPCS_HOST_PORT$ 20 | You can access [b]PostgreSQL[/b] using credentials: 21 | [b]User:[/b] odoo 22 | [b]Password:[/b] $POSTGRES_USER_PASSWORD$ 23 | 24 | We recommend you to save the credentials. 25 | 26 | # required for cPanel to do proxy to user`s domain 27 | # proxy: 28 | # root: 29 | # container: odoo 30 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 31 | appPackages: 32 | - name: S 33 | goodFor: beginner 34 | publicIP: true 35 | pods: 36 | - 37 | name: $APP_NAME$ 38 | kubeType: 0 39 | containers: 40 | - name: postgres 41 | kubes: 3 42 | - name: odoo 43 | kubes: 3 44 | persistentDisks: 45 | - name: postgres-persistent-storage 46 | pdSize: 1 47 | - name: odoo-persistent-storage 48 | pdSize: 1 49 | - name: M 50 | recommended: yes 51 | goodFor: regular use 52 | publicIP: true 53 | pods: 54 | - 55 | name: $APP_NAME$ 56 | kubeType: 1 57 | containers: 58 | - name: postgres 59 | kubes: 2 60 | - name: odoo 61 | kubes: 2 62 | persistentDisks: 63 | - name: postgres-persistent-storage 64 | pdSize: 1 65 | - name: odoo-persistent-storage 66 | pdSize: 1 67 | - name: L 68 | goodFor: business 69 | publicIP: true 70 | pods: 71 | - 72 | name: $APP_NAME$ 73 | kubeType: 2 74 | containers: 75 | - name: postgres 76 | kubes: 2 77 | - name: odoo 78 | kubes: 2 79 | persistentDisks: 80 | - name: postgres-persistent-storage 81 | pdSize: 2 82 | - name: odoo-persistent-storage 83 | pdSize: 2 84 | spec: 85 | template: 86 | metadata: 87 | labels: 88 | name: $APP_NAME$ 89 | spec: 90 | volumes: 91 | - name: postgres-persistent-storage 92 | persistentDisk: 93 | pdName: odoo_postgres_$PD_RAND|default:autogen|PD rand$ 94 | - name: odoo-persistent-storage 95 | persistentDisk: 96 | pdName: odoo_var_$PD_RAND$ 97 | restartPolicy: "Always" 98 | containers: 99 | - 100 | name: postgres 101 | image: postgres:9.4 102 | env: 103 | - name: POSTGRES_USER 104 | value: odoo 105 | - name: POSTGRES_PASSWORD 106 | value: $POSTGRES_USER_PASSWORD|default:autogen|postgres user password$ 107 | ports: 108 | - containerPort: 5432 109 | volumeMounts: 110 | - mountPath: /var/lib/postgresql/data 111 | name: postgres-persistent-storage 112 | - 113 | name: odoo 114 | image: kuberdock/odoo:9-1 115 | env: 116 | - name: DB_PORT_5432_TCP_ADDR 117 | value: 127.0.0.1 118 | - name: DB_ENV_POSTGRES_USER 119 | value: odoo 120 | - name: DB_ENV_POSTGRES_PASSWORD 121 | value: $POSTGRES_USER_PASSWORD$ 122 | - name: OPENERP_SERVER 123 | value: /var/lib/odoo/openerp-server.conf 124 | ports: 125 | - containerPort: 8069 126 | podPort: $ODOO_XMLRPC_HOST_PORT|default:80|Enter Odoo XML-RPC/HTTP host port$ 127 | isPublic: True 128 | - containerPort: 8071 129 | podPort: $ODOO_XMLRPCS_HOST_PORT|default:8071|Enter Odoo XML-RPC/HTTP secure host port$ 130 | isPublic: True 131 | readinessProbe: 132 | httpGet: 133 | path: / 134 | scheme: HTTP 135 | port: 8069 136 | timeoutSeconds: 30 137 | initialDelaySeconds: 5 138 | volumeMounts: 139 | - mountPath: /var/lib/odoo 140 | kdCopyFromImage: true 141 | name: odoo-persistent-storage 142 | 143 | -------------------------------------------------------------------------------- /opencart.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:opencart| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]OpenCart[/b]. 9 | An open source PHP-based online e-commerce solution. 10 | All the components needed for this application correct work will also be installed: [b]MySQL[/b] server. 11 | Choose the amount of resources or use recommended parameters set by default. 12 | First choose package. 13 | When you click "Order now", you will get to order processing page. 14 | postDescription: | 15 | You have installed [b]OpenCart![/b] 16 | Please find more information about OpenCart software on the official website [url]http://www.opencart.com/[/url] 17 | To access [b]OpenCart[/b] use this link: [url]http://%PUBLIC_ADDRESS%[/url] 18 | You can access [b]MySQL[/b] using credentials: 19 | [b]Host:[/b] 127.0.0.1 20 | [b]Database:[/b] opencart 21 | [b]Login:[/b] opencart 22 | [b]Password:[/b] $MYSQL_USER_PASSWORD$ 23 | 24 | We recommend you to save the credentials. 25 | 26 | Please, restart pod after installation. 27 | 28 | # required for cPanel to do proxy to user`s domain 29 | # proxy: 30 | # root: 31 | # container: opencart 32 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 33 | appPackages: 34 | - name: S 35 | goodFor: beginner 36 | publicIP: true 37 | pods: 38 | - 39 | name: $APP_NAME$ 40 | kubeType: 0 41 | containers: 42 | - name: mysql 43 | kubes: 6 44 | - name: opencart 45 | kubes: 1 46 | persistentDisks: 47 | - name: mysql-persistent-storage 48 | pdSize: 1 49 | - name: opencart-persistent-storage 50 | pdSize: 1 51 | - name: M 52 | recommended: yes 53 | goodFor: regular use 54 | publicIP: true 55 | pods: 56 | - 57 | name: $APP_NAME$ 58 | kubeType: 1 59 | containers: 60 | - name: mysql 61 | kubes: 6 62 | - name: opencart 63 | kubes: 1 64 | persistentDisks: 65 | - name: mysql-persistent-storage 66 | pdSize: 1 67 | - name: opencart-persistent-storage 68 | pdSize: 1 69 | - name: L 70 | goodFor: business 71 | publicIP: true 72 | pods: 73 | - 74 | name: $APP_NAME$ 75 | kubeType: 2 76 | containers: 77 | - name: mysql 78 | kubes: 6 79 | - name: opencart 80 | kubes: 1 81 | persistentDisks: 82 | - name: mysql-persistent-storage 83 | pdSize: 2 84 | - name: opencart-persistent-storage 85 | pdSize: 2 86 | spec: 87 | template: 88 | metadata: 89 | labels: 90 | name: $APP_NAME$ 91 | spec: 92 | volumes: 93 | - name: mysql-persistent-storage 94 | persistentDisk: 95 | pdName: opencart_mysql_$PD_RAND|default:autogen|PD rand$ 96 | - name: opencart-persistent-storage 97 | persistentDisk: 98 | pdName: opencart_www_$PD_RAND$ 99 | restartPolicy: "Always" 100 | containers: 101 | - 102 | name: mysql 103 | image: kuberdock/mysql:5.7 104 | env: 105 | - name: MYSQL_DATABASE 106 | value: opencart 107 | - name: MYSQL_USER 108 | value: opencart 109 | - name: MYSQL_PASSWORD 110 | value: $MYSQL_USER_PASSWORD|default:autogen|mysql password$ 111 | - name: MYSQL_ROOT_PASSWORD 112 | value: $MYSQL_ROOT_PASSWORD|default:autogen|mysql password$ 113 | - name: MYSQL_AUTO_MEMORY_ALLOCATE 114 | value: $MYSQL_AUTO_MEMORY_ALLOCATE|default:innodb|Please choose default MySQL engine "innodb" or "myisam"$ 115 | ports: 116 | - containerPort: 3306 117 | readinessProbe: 118 | tcpSocket: 119 | port: 3306 120 | initialDelaySeconds: 5 121 | volumeMounts: 122 | - mountPath: /var/lib/mysql 123 | name: mysql-persistent-storage 124 | - 125 | name: opencart 126 | image: kuberdock/opencart:2.2.0.0 127 | ports: 128 | - containerPort: 80 129 | isPublic: True 130 | readinessProbe: 131 | httpGet: 132 | path: / 133 | scheme: HTTP 134 | port: 80 135 | initialDelaySeconds: 5 136 | volumeMounts: 137 | - mountPath: /var/www/html 138 | name: opencart-persistent-storage 139 | kdCopyFromImage: true 140 | workingDir: /var/www/html 141 | 142 | -------------------------------------------------------------------------------- /owncloud.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:owncloud| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]ownCloud[/b]. 9 | ownCloud is a self-hosted file sync and share server. 10 | All the components needed for this application correct work will also be installed: [b]MySQL[/b] server. 11 | Choose the amount of resources or use recommended parameters set by default. 12 | First choose package. 13 | When you click "Order now", you will get to order processing page. 14 | postDescription: | 15 | You have installed [b]ownCloud![/b] 16 | Please find more information about ownCloud software on the official website [url]https://owncloud.org/[/url] 17 | To access [b]ownCloud[/b] use this link: [url]http://%PUBLIC_ADDRESS%[/url] 18 | You can access [b]MySQL[/b] using credentials: 19 | [b]Host:[/b] 127.0.0.1 20 | [b]Database:[/b] owncloud 21 | [b]Login:[/b] owncloud 22 | [b]Password:[/b] $MYSQL_USER_PASSWORD$ 23 | 24 | We recommend you to save the credentials. 25 | 26 | # required for cPanel to do proxy to user`s domain 27 | # proxy: 28 | # root: 29 | # container: owncloud 30 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 31 | appPackages: 32 | - name: S 33 | goodFor: beginner 34 | publicIP: true 35 | pods: 36 | - 37 | name: $APP_NAME$ 38 | kubeType: 0 39 | containers: 40 | - name: mysql 41 | kubes: 6 42 | - name: owncloud 43 | kubes: 4 44 | persistentDisks: 45 | - name: mysql-persistent-storage 46 | pdSize: 1 47 | - name: owncloud-persistent-storage 48 | pdSize: 1 49 | - name: M 50 | recommended: yes 51 | goodFor: regular use 52 | publicIP: true 53 | pods: 54 | - 55 | name: $APP_NAME$ 56 | kubeType: 1 57 | containers: 58 | - name: mysql 59 | kubes: 6 60 | - name: owncloud 61 | kubes: 4 62 | persistentDisks: 63 | - name: mysql-persistent-storage 64 | pdSize: 1 65 | - name: owncloud-persistent-storage 66 | pdSize: 1 67 | - name: L 68 | goodFor: business 69 | publicIP: true 70 | pods: 71 | - 72 | name: $APP_NAME$ 73 | kubeType: 2 74 | containers: 75 | - name: mysql 76 | kubes: 6 77 | - name: owncloud 78 | kubes: 4 79 | persistentDisks: 80 | - name: mysql-persistent-storage 81 | pdSize: 2 82 | - name: owncloud-persistent-storage 83 | pdSize: 2 84 | spec: 85 | template: 86 | metadata: 87 | labels: 88 | name: $APP_NAME$ 89 | spec: 90 | volumes: 91 | - name: mysql-persistent-storage 92 | persistentDisk: 93 | pdName: owncloud_mysql_$PD_RAND|default:autogen|PD rand$ 94 | - name: owncloud-persistent-storage 95 | persistentDisk: 96 | pdName: owncloud_www_$PD_RAND$ 97 | restartPolicy: "Always" 98 | containers: 99 | - 100 | name: mysql 101 | image: kuberdock/mysql:5.7 102 | env: 103 | - name: MYSQL_DATABASE 104 | value: owncloud 105 | - name: MYSQL_USER 106 | value: owncloud 107 | - name: MYSQL_PASSWORD 108 | value: $MYSQL_USER_PASSWORD|default:autogen|mysql user password$ 109 | - name: MYSQL_ROOT_PASSWORD 110 | value: $MYSQL_ROOT_PASSWORD|default:autogen|mysql root password$ 111 | - name: MYSQL_AUTO_MEMORY_ALLOCATE 112 | value: $MYSQL_AUTO_MEMORY_ALLOCATE|default:innodb|Please choose default MySQL engine "innodb" or "myisam"$ 113 | ports: 114 | - containerPort: 3306 115 | readinessProbe: 116 | tcpSocket: 117 | port: 3306 118 | initialDelaySeconds: 5 119 | volumeMounts: 120 | - mountPath: /var/lib/mysql 121 | name: mysql-persistent-storage 122 | - 123 | name: owncloud 124 | image: owncloud:8 125 | ports: 126 | - containerPort: 80 127 | isPublic: True 128 | readinessProbe: 129 | tcpSocket: 130 | port: 80 131 | initialDelaySeconds: 5 132 | volumeMounts: 133 | - mountPath: /var/www/html 134 | name: owncloud-persistent-storage 135 | workingDir: /var/www/html 136 | 137 | -------------------------------------------------------------------------------- /phpbb.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:phpbb| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]phpBB[/b]. 9 | [b]phpBB[/b] is a free flat-forum bulletin board software solution that can be used to stay in touch with a group of people or can power your entire website. 10 | All the components needed for this application correct work will also be installed: [b]MySQL[/b] server. 11 | Choose the amount of resources or use recommended parameters set by default. 12 | First choose package. 13 | When you click "Order now", you will get to order processing page. 14 | postDescription: | 15 | You have installed [b]phpBB[/b] 16 | Please find more information about phpBB software on the official website [url]https://www.phpbb.com/[/url] 17 | To access [b]phpBB[/b] use this link: [url]http://%PUBLIC_ADDRESS%[/url] 18 | You can access [b]MySQL[/b] using credentials: 19 | [b]Host:[/b] 127.0.0.1 20 | [b]Database:[/b] phpbb 21 | [b]Login:[/b] phpbb 22 | [b]Password:[/b] $MYSQL_USER_PASSWORD$ 23 | 24 | We recommend you to save the credentials. 25 | 26 | Please, restart pod after installation. 27 | 28 | # required for cPanel to do proxy to user`s domain 29 | # proxy: 30 | # root: 31 | # container: phpbb 32 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 33 | appPackages: 34 | - name: S 35 | goodFor: beginner 36 | publicIP: true 37 | pods: 38 | - 39 | name: $APP_NAME$ 40 | kubeType: 0 41 | containers: 42 | - name: mysql 43 | kubes: 6 44 | - name: phpbb 45 | kubes: 2 46 | persistentDisks: 47 | - name: mysql-persistent-storage 48 | pdSize: 1 49 | - name: phpbb-persistent-storage 50 | pdSize: 1 51 | - name: M 52 | recommended: yes 53 | goodFor: regular use 54 | publicIP: true 55 | pods: 56 | - 57 | name: $APP_NAME$ 58 | kubeType: 1 59 | containers: 60 | - name: mysql 61 | kubes: 6 62 | - name: phpbb 63 | kubes: 2 64 | persistentDisks: 65 | - name: mysql-persistent-storage 66 | pdSize: 1 67 | - name: phpbb-persistent-storage 68 | pdSize: 1 69 | - name: L 70 | goodFor: business 71 | publicIP: true 72 | pods: 73 | - 74 | name: $APP_NAME$ 75 | kubeType: 2 76 | containers: 77 | - name: mysql 78 | kubes: 6 79 | - name: phpbb 80 | kubes: 2 81 | persistentDisks: 82 | - name: mysql-persistent-storage 83 | pdSize: 2 84 | - name: phpbb-persistent-storage 85 | pdSize: 2 86 | spec: 87 | template: 88 | metadata: 89 | labels: 90 | name: $APP_NAME$ 91 | spec: 92 | volumes: 93 | - name: mysql-persistent-storage 94 | persistentDisk: 95 | pdName: phpbb_mysql_$PD_RAND|default:autogen|PD rand$ 96 | - name: phpbb-persistent-storage 97 | persistentDisk: 98 | pdName: phpbb_www_$PD_RAND$ 99 | restartPolicy: "Always" 100 | containers: 101 | - 102 | name: mysql 103 | image: kuberdock/mysql:5.7 104 | env: 105 | - name: MYSQL_DATABASE 106 | value: phpbb 107 | - name: MYSQL_USER 108 | value: phpbb 109 | - name: MYSQL_PASSWORD 110 | value: $MYSQL_USER_PASSWORD|default:autogen|mysql password$ 111 | - name: MYSQL_ROOT_PASSWORD 112 | value: $MYSQL_ROOT_PASSWORD|default:autogen|mysql password$ 113 | - name: MYSQL_AUTO_MEMORY_ALLOCATE 114 | value: $MYSQL_AUTO_MEMORY_ALLOCATE|default:innodb|Please choose default MySQL engine "innodb" or "myisam"$ 115 | ports: 116 | - containerPort: 3306 117 | readinessProbe: 118 | tcpSocket: 119 | port: 3306 120 | initialDelaySeconds: 5 121 | volumeMounts: 122 | - mountPath: /var/lib/mysql 123 | name: mysql-persistent-storage 124 | - 125 | name: phpbb 126 | image: kuberdock/phpbb:3.1.9 127 | ports: 128 | - containerPort: 80 129 | isPublic: True 130 | readinessProbe: 131 | httpGet: 132 | path: / 133 | scheme: HTTP 134 | port: 80 135 | initialDelaySeconds: 5 136 | volumeMounts: 137 | - mountPath: /var/www/html 138 | name: phpbb-persistent-storage 139 | kdCopyFromImage: true 140 | workingDir: /var/www/html 141 | 142 | -------------------------------------------------------------------------------- /phpmyadmin.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:phpmyadmin| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]PHPMyAdmin[/b]. 9 | phpMyAdmin is a free software tool written in PHP, intended to handle the administration of MySQL over the Web. 10 | All the components needed for this application correct work will also be installed: [b]MySQL[/b] server. 11 | Choose the amount of resources or use recommended parameters set by default. 12 | First choose package. 13 | When you click "Order now", you will get to order processing page. 14 | postDescription: | 15 | You have installed [b]PHPMyAdmin![/b] 16 | Please find more information about PHPMyAdmin software on the official website [url]https://www.phpmyadmin.net/[/url] 17 | To access [b]PHPMyAdmin[/b] use this link: [url]http://%PUBLIC_ADDRESS%:$PHPMYADM_HOST_PORT$[/url] 18 | [b]MySQL[/b] info is the following: 19 | Database: $MYSQL_DATABASE$ 20 | User: $MYSQL_USER$ 21 | MySQL user password: $MYSQL_USER_PASSWORD$ 22 | MySQL root password: $MYSQL_ROOT_PASSWORD$ 23 | 24 | # required for cPanel to do proxy to user`s domain 25 | # proxy: 26 | # root: 27 | # container: phpmyadmin 28 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 29 | appPackages: 30 | - name: S 31 | goodFor: beginner 32 | publicIP: true 33 | pods: 34 | - 35 | name: $APP_NAME$ 36 | kubeType: 0 37 | containers: 38 | - name: mysql 39 | kubes: 6 40 | - name: phpmyadmin 41 | kubes: 2 42 | persistentDisks: 43 | - name: mysql-persistent-storage 44 | pdSize: 1 45 | - name: M 46 | recommended: yes 47 | goodFor: regular use 48 | publicIP: true 49 | pods: 50 | - 51 | name: $APP_NAME$ 52 | kubeType: 1 53 | containers: 54 | - name: mysql 55 | kubes: 6 56 | - name: phpmyadmin 57 | kubes: 3 58 | persistentDisks: 59 | - name: mysql-persistent-storage 60 | pdSize: 1 61 | - name: L 62 | goodFor: business 63 | publicIP: true 64 | pods: 65 | - 66 | name: $APP_NAME$ 67 | kubeType: 2 68 | containers: 69 | - name: mysql 70 | kubes: 6 71 | - name: phpmyadmin 72 | kubes: 3 73 | persistentDisks: 74 | - name: mysql-persistent-storage 75 | pdSize: 2 76 | spec: 77 | template: 78 | metadata: 79 | labels: 80 | name: $APP_NAME$ 81 | spec: 82 | volumes: 83 | - name: mysql-persistent-storage 84 | persistentDisk: 85 | pdName: pma_mysql_$PD_RAND|default:autogen|PD rand$ 86 | - name: pma-persistent-storage 87 | restartPolicy: "Always" 88 | containers: 89 | - 90 | name: mysql 91 | image: kuberdock/mysql:5.7 92 | env: 93 | - name: MYSQL_DATABASE 94 | value: $MYSQL_DATABASE|default:mydata|Please type appropriate database name$ 95 | - name: MYSQL_USER 96 | value: $MYSQL_USER|default:user|Please choose your database user$ 97 | - name: MYSQL_PASSWORD 98 | value: $MYSQL_USER_PASSWORD|default:autogen|mysql password$ 99 | - name: MYSQL_ROOT_PASSWORD 100 | value: $MYSQL_ROOT_PASSWORD|default:autogen|mysql password$ 101 | - name: MYSQL_AUTO_MEMORY_ALLOCATE 102 | value: $MYSQL_AUTO_MEMORY_ALLOCATE|default:innodb|Please choose default MySQL engine "innodb" or "myisam"$ 103 | ports: 104 | - containerPort: 3306 105 | readinessProbe: 106 | tcpSocket: 107 | port: 3306 108 | initialDelaySeconds: 5 109 | volumeMounts: 110 | - mountPath: /var/lib/mysql 111 | name: mysql-persistent-storage 112 | - 113 | name: phpmyadmin 114 | image: dnhsoft/phpmyadmin:4.6.4 115 | env: 116 | - name: DBHOST 117 | value: 127.0.0.1 118 | - name: DBUSER 119 | value: $MYSQL_USER$ 120 | - name: DBPASS 121 | value: $MYSQL_USER_PASSWORD$ 122 | ports: 123 | - containerPort: 80 124 | podPort: $PHPMYADM_HOST_PORT|default:80|Enter phpmyadmin host port$ 125 | isPublic: True 126 | readinessProbe: 127 | httpGet: 128 | path: / 129 | scheme: HTTP 130 | port: 80 131 | initialDelaySeconds: 5 132 | workingDir: /var/www/html 133 | 134 | -------------------------------------------------------------------------------- /postgres.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:postgres| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]PostgreSQL[/b]. 9 | The PostgreSQL object-relational database system provides reliability and data integrity. 10 | Choose the amount of resources or use recommended parameters set by default. 11 | First choose package. 12 | When you click "Order now", you will get to order processing page. 13 | postDescription: | 14 | You have installed [b]PostgreSQL![/b] 15 | Please find more information about PostgreSQL software on the official website [url]http://www.postgresql.org/[/url] 16 | To access [b]PostgreSQL[/b] use: 17 | [b]Host:[/b] %PUBLIC_ADDRESS% 18 | [b]Port:[/b] $POSTGRESQL_PORT$ 19 | [b]Login:[/b] postgres 20 | [b]Password:[/b] $POSTGRES_USER_PASSWORD$ 21 | 22 | 23 | # required for cPanel to do proxy to user`s domain 24 | # proxy: 25 | # root: 26 | # container: postgres 27 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 28 | appPackages: 29 | - name: S 30 | goodFor: beginner 31 | publicIP: true 32 | pods: 33 | - 34 | name: $APP_NAME$ 35 | kubeType: 0 36 | containers: 37 | - name: postgres 38 | kubes: 2 39 | persistentDisks: 40 | - name: postgres-persistent-storage 41 | pdSize: 1 42 | - name: M 43 | recommended: yes 44 | goodFor: regular use 45 | publicIP: true 46 | pods: 47 | - 48 | name: $APP_NAME$ 49 | kubeType: 1 50 | containers: 51 | - name: postgres 52 | kubes: 2 53 | persistentDisks: 54 | - name: postgres-persistent-storage 55 | pdSize: 1 56 | - name: L 57 | goodFor: business 58 | publicIP: true 59 | pods: 60 | - 61 | name: $APP_NAME$ 62 | kubeType: 2 63 | containers: 64 | - name: postgres 65 | kubes: 2 66 | persistentDisks: 67 | - name: postgres-persistent-storage 68 | pdSize: 2 69 | spec: 70 | template: 71 | metadata: 72 | labels: 73 | name: $APP_NAME$ 74 | spec: 75 | volumes: 76 | - name: postgres-persistent-storage 77 | persistentDisk: 78 | pdName: postgres_$PD_RAND|default:autogen|PD rand$ 79 | restartPolicy: "Always" 80 | containers: 81 | - 82 | name: postgres 83 | image: postgres:9 84 | env: 85 | - name: POSTGRES_USER 86 | value: postgres 87 | - name: POSTGRES_PASSWORD 88 | value: $POSTGRES_USER_PASSWORD|default:autogen|postgres password$ 89 | ports: 90 | - containerPort: 5432 91 | podPort: $POSTGRESQL_PORT|default:5432|Enter PostgreSQL host port$ 92 | isPublic: True 93 | readinessProbe: 94 | tcpSocket: 95 | port: 5432 96 | initialDelaySeconds: 5 97 | volumeMounts: 98 | - mountPath: /var/lib/postgresql/data 99 | name: postgres-persistent-storage 100 | 101 | -------------------------------------------------------------------------------- /redis.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:redis| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]Redis[/b]. 9 | Redis is an open source key-value store that functions as a data structure server. 10 | Choose the amount of resources or use recommended parameters set by default. 11 | First choose package. 12 | When you click "Order now", you will get to order processing page. 13 | postDescription: | 14 | You have installed [b]Redis![/b] 15 | Please find more information about Redis software on the official website [url]http://redis.io/[/url] 16 | To access [b]Redis[/b] use: 17 | [b]Host:[/b] %PUBLIC_ADDRESS% 18 | [b]Port:[/b] $REDIS_HOST_PORT$ 19 | 20 | # required for cPanel to do proxy to user`s domain 21 | # proxy: 22 | # root: 23 | # container: redis 24 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 25 | appPackages: 26 | - name: S 27 | goodFor: beginner 28 | publicIP: true 29 | pods: 30 | - 31 | name: $APP_NAME$ 32 | kubeType: 0 33 | containers: 34 | - name: redis 35 | kubes: 1 36 | persistentDisks: 37 | - name: redis-persistent-storage 38 | pdSize: 1 39 | - name: M 40 | recommended: yes 41 | goodFor: regular use 42 | publicIP: true 43 | pods: 44 | - 45 | name: $APP_NAME$ 46 | kubeType: 1 47 | containers: 48 | - name: redis 49 | kubes: 1 50 | persistentDisks: 51 | - name: redis-persistent-storage 52 | pdSize: 1 53 | - name: L 54 | goodFor: business 55 | publicIP: true 56 | pods: 57 | - 58 | name: $APP_NAME$ 59 | kubeType: 2 60 | containers: 61 | - name: redis 62 | kubes: 1 63 | persistentDisks: 64 | - name: redis-persistent-storage 65 | pdSize: 2 66 | spec: 67 | template: 68 | metadata: 69 | labels: 70 | name: $APP_NAME$ 71 | spec: 72 | volumes: 73 | - name: redis-persistent-storage 74 | persistentDisk: 75 | pdName: redis_$PD_RAND|default:autogen|PD rand$ 76 | restartPolicy: "Always" 77 | containers: 78 | - 79 | name: redis 80 | image: redis:3 81 | ports: 82 | - containerPort: 6379 83 | podPort: $REDIS_HOST_PORT|default:6379|Enter Redis host port$ 84 | isPublic: True 85 | readinessProbe: 86 | tcpSocket: 87 | port: 6379 88 | initialDelaySeconds: 1 89 | volumeMounts: 90 | - mountPath: /data 91 | name: redis-persistent-storage 92 | workingDir: /data 93 | 94 | -------------------------------------------------------------------------------- /redmine.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:redmine| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]Redmine[/b]. 9 | Redmine is a flexible project management web application written using Ruby on Rails framework 10 | Choose the amount of resources or use recommended parameters set by default. 11 | First choose package. 12 | When you click "Order now", you will get to order processing page. 13 | postDescription: | 14 | You have installed [b]Redmine![/b] 15 | Please find more information about Redmine software on the official website [url]http://www.redmine.org/[/url] 16 | To access [b]Redmine[/b] use this link: [url]http://%PUBLIC_ADDRESS%:$REDMINE_HOST_PORT$[/url] 17 | You can access [b]MySQL[/b] using credentials: 18 | [b]Host:[/b] 127.0.0.1 19 | [b]Database:[/b] redmine 20 | [b]Login:[/b] redmine 21 | [b]Password:[/b] $MYSQL_USER_PASSWORD$ 22 | 23 | Please, read the application documentation: [url]http://www.redmine.org/projects/redmine/wiki/[/url] 24 | 25 | [b]Important![/b] The default username and password are admin/admin. We strongly recommend to change 26 | Redmine password after login to something more secure from Adminitration > Users 27 | 28 | # required for cPanel to do proxy to user`s domain 29 | # proxy: 30 | # root: 31 | # container: redmine 32 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 33 | appPackages: 34 | - name: S 35 | goodFor: beginner 36 | publicIP: true 37 | pods: 38 | - 39 | name: $APP_NAME$ 40 | kubeType: 0 41 | containers: 42 | - name: mysql 43 | kubes: 6 44 | - name: redmine 45 | kubes: 4 46 | persistentDisks: 47 | - name: mysql-persistent-storage 48 | pdSize: 1 49 | - name: redmine-persistent-storage 50 | pdSize: 1 51 | - name: M 52 | recommended: yes 53 | goodFor: regular use 54 | publicIP: true 55 | pods: 56 | - 57 | name: $APP_NAME$ 58 | kubeType: 1 59 | containers: 60 | - name: mysql 61 | kubes: 6 62 | - name: redmine 63 | kubes: 4 64 | persistentDisks: 65 | - name: mysql-persistent-storage 66 | pdSize: 1 67 | - name: redmine-persistent-storage 68 | pdSize: 1 69 | - name: L 70 | goodFor: business 71 | publicIP: true 72 | pods: 73 | - 74 | name: $APP_NAME$ 75 | kubeType: 2 76 | containers: 77 | - name: mysql 78 | kubes: 6 79 | - name: redmine 80 | kubes: 4 81 | persistentDisks: 82 | - name: mysql-persistent-storage 83 | pdSize: 2 84 | - name: redmine-persistent-storage 85 | pdSize: 2 86 | spec: 87 | template: 88 | metadata: 89 | labels: 90 | name: $APP_NAME$ 91 | spec: 92 | volumes: 93 | - name: mysql-persistent-storage 94 | persistentDisk: 95 | pdName: redmine_mysql_$PD_RAND|default:autogen|PD rand$ 96 | - name: redmine-persistent-storage 97 | persistentDisk: 98 | pdName: redmine_files_$PD_RAND$ 99 | restartPolicy: "Always" 100 | resolve: [mysql] 101 | containers: 102 | - 103 | name: mysql 104 | image: kuberdock/mysql:5.7 105 | env: 106 | - name: MYSQL_DATABASE 107 | value: redmine 108 | - name: MYSQL_USER 109 | value: redmine 110 | - name: MYSQL_PASSWORD 111 | value: $MYSQL_USER_PASSWORD|default:autogen|mysql user password$ 112 | - name: MYSQL_ROOT_PASSWORD 113 | value: $MYSQL_ROOT_PASSWORD|default:autogen|mysql root password$ 114 | - name: MYSQL_AUTO_MEMORY_ALLOCATE 115 | value: $MYSQL_AUTO_MEMORY_ALLOCATE|default:innodb|Please choose default MySQL engine "innodb" or "myisam"$ 116 | ports: 117 | - containerPort: 3306 118 | readinessProbe: 119 | tcpSocket: 120 | port: 3306 121 | initialDelaySeconds: 5 122 | volumeMounts: 123 | - mountPath: /var/lib/mysql 124 | name: mysql-persistent-storage 125 | - 126 | name: redmine 127 | image: redmine:3 128 | env: 129 | - name: MYSQL_PORT_3306_TCP 130 | value: "3306" 131 | - name: MYSQL_ENV_MYSQL_DATABASE 132 | value: redmine 133 | - name: MYSQL_ENV_MYSQL_USER 134 | value: redmine 135 | - name: MYSQL_ENV_MYSQL_PASSWORD 136 | value: $MYSQL_USER_PASSWORD$ 137 | ports: 138 | - containerPort: 3000 139 | podPort: $REDMINE_HOST_PORT|default:3000|Enter Redmine host port$ 140 | isPublic: True 141 | readinessProbe: 142 | httpGet: 143 | path: / 144 | scheme: HTTP 145 | port: 3000 146 | initialDelaySeconds: 5 147 | timeoutSeconds: 30 148 | volumeMounts: 149 | - mountPath: /usr/src/redmine/files 150 | name: redmine-persistent-storage 151 | workingDir: /usr/src/redmine 152 | 153 | -------------------------------------------------------------------------------- /sugarcrm.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:sugarcrm| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: sugarcrm 8 | postDescription: We just want to inform you that your SugarCRM is now deploying and will be started in a few minutes. The application will be available via %PUBLIC_ADDRESS%. You need to wait until application will obtain status running, that will mean that you application is ready to use. Your database credentials Database sugar, Login sugar, Password $MYSQL_USER_PASSWORD$, Host 127.0.0.1, Port 3306. You can find more information about how to use KuberDock in our documentation. 9 | preDescription: | 10 | You are installing the application [b]SugarCRM[/b]. 11 | Sugar is a complete CRM solution that automates your core sales, customer service and marketing processes, with a focus on the individual. 12 | All the components needed for this application correct work will also be installed: [b]MySQL[/b] server. 13 | Choose the amount of resources or use recommended parameters set by default. 14 | First choose package. 15 | When you click "Order now", you will get to order processing page. 16 | postDescription: | 17 | You have installed [b]SugarCRM![/b] 18 | Please find more information about SugarCRM software on the official website [url]https://www.sugarcrm.com/[/url] 19 | To access [b]SugarCRM[/b] use this link: [url]http://%PUBLIC_ADDRESS%[/url] 20 | You can access [b]MySQL[/b] using credentials: 21 | [b]Host:[/b] 127.0.0.1 22 | [b]Database:[/b] sugarcrm 23 | [b]Login:[/b] admin 24 | [b]Password:[/b] $MYSQL_USER_PASSWORD$ 25 | 26 | We recommend you to save the credentials. 27 | 28 | # required for cPanel to do proxy to user`s domain 29 | # proxy: 30 | # root: 31 | # container: sugarcrm 32 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 33 | appPackages: 34 | - name: S 35 | goodFor: beginner 36 | publicIP: true 37 | pods: 38 | - 39 | name: $APP_NAME$ 40 | kubeType: 0 41 | containers: 42 | - name: mysql 43 | kubes: 6 44 | - name: sugarcrm 45 | kubes: 4 46 | persistentDisks: 47 | - name: mysql-persistent-storage 48 | pdSize: 1 49 | - name: sugarcrm-persistent-storage 50 | pdSize: 1 51 | - name: M 52 | recommended: yes 53 | goodFor: regular use 54 | publicIP: true 55 | pods: 56 | - 57 | name: $APP_NAME$ 58 | kubeType: 1 59 | containers: 60 | - name: mysql 61 | kubes: 6 62 | - name: sugarcrm 63 | kubes: 4 64 | persistentDisks: 65 | - name: mysql-persistent-storage 66 | pdSize: 1 67 | - name: sugarcrm-persistent-storage 68 | pdSize: 1 69 | - name: L 70 | goodFor: business 71 | publicIP: true 72 | pods: 73 | - 74 | name: $APP_NAME$ 75 | kubeType: 2 76 | containers: 77 | - name: mysql 78 | kubes: 6 79 | - name: sugarcrm 80 | kubes: 4 81 | persistentDisks: 82 | - name: mysql-persistent-storage 83 | pdSize: 2 84 | - name: sugarcrm-persistent-storage 85 | pdSize: 2 86 | spec: 87 | template: 88 | metadata: 89 | labels: 90 | name: $APP_NAME$ 91 | spec: 92 | volumes: 93 | - name: mysql-persistent-storage 94 | persistentDisk: 95 | pdName: sugar_mysql_$PD_RAND|default:autogen|PD rand$ 96 | - name: sugarcrm-persistent-storage 97 | persistentDisk: 98 | pdName: sugarcrm_www_$PD_RAND$ 99 | restartPolicy: "Always" 100 | containers: 101 | - 102 | name: mysql 103 | image: kuberdock/mysql:5.7 104 | env: 105 | - name: MYSQL_DATABASE 106 | value: sugarcrm 107 | - name: MYSQL_USER 108 | value: admin 109 | - name: MYSQL_PASSWORD 110 | value: $MYSQL_USER_PASSWORD|default:autogen|mysql password$ 111 | - name: MYSQL_ROOT_PASSWORD 112 | value: $MYSQL_ROOT_PASSWORD|default:autogen|mysql password$ 113 | - name: MYSQL_AUTO_MEMORY_ALLOCATE 114 | value: $MYSQL_AUTO_MEMORY_ALLOCATE|default:innodb|Please choose default MySQL engine "innodb" or "myisam"$ 115 | ports: 116 | - containerPort: 3306 117 | readinessProbe: 118 | tcpSocket: 119 | port: 3306 120 | initialDelaySeconds: 5 121 | volumeMounts: 122 | - mountPath: /var/lib/mysql 123 | name: mysql-persistent-storage 124 | - 125 | name: sugarcrm 126 | image: kuberdock/sugarcrm:6.5 127 | env: 128 | - name: DATABASE_NAME 129 | value: sugarcrm 130 | - name: DB_USER_NAME 131 | value: admin 132 | - name: DB_PASSWORD 133 | value: $MYSQL_USER_PASSWORD$ 134 | - name: DB_HOST_NAME 135 | value: 127.0.0.1 136 | - name: DB_TYPE 137 | value: mysql 138 | - name: DB_TCP_PORT 139 | value: "3306" 140 | - name: DB_MANAGER 141 | value: MysqlManager 142 | ports: 143 | - containerPort: 80 144 | isPublic: True 145 | readinessProbe: 146 | httpGet: 147 | path: / 148 | scheme: HTTP 149 | port: 80 150 | timeoutSeconds: 30 151 | initialDelaySeconds: 5 152 | volumeMounts: 153 | - mountPath: /var/www/html 154 | name: sugarcrm-persistent-storage 155 | kdCopyFromImage: true 156 | 157 | -------------------------------------------------------------------------------- /tf2.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:tf2| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing [b]Team Fortress 2[/b]. 9 | Team Fortress 2 is an online first-person shooter video game 10 | Choose the amount of resources or use recommended parameters set by default. 11 | First choose package. 12 | [b]Important![/b] Before the order you should get steam token from http://steamcommunity.com/dev/managegameservers 13 | Please add AppID "440" and disired description for your new Team Fortress 2. 14 | Copy "Login Token" and add it into the field "Steam Token" 15 | When you click "Order now", you will get to order processing page. 16 | postDescription: | 17 | You have installed [b]Team Fortress 2![/b] 18 | Please find more information about Team Fortress 2 software on the official website [url]http://www.teamfortress.com/[/url] 19 | Your server is ready and you can use %PUBLIC_ADDRESS% to access your server. 20 | 21 | # required for cPanel to do proxy to user`s domain 22 | # proxy: 23 | # root: 24 | # container: memcached 25 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 26 | appPackages: 27 | - name: S 28 | goodFor: beginner 29 | publicIP: true 30 | pods: 31 | - 32 | name: $APP_NAME$ 33 | kubeType: 0 34 | containers: 35 | - name: tf2 36 | kubes: 7 37 | - name: M 38 | recommended: yes 39 | goodFor: regular use 40 | publicIP: true 41 | pods: 42 | - 43 | name: $APP_NAME$ 44 | kubeType: 1 45 | containers: 46 | - name: tf2 47 | kubes: 7 48 | - name: L 49 | goodFor: business 50 | publicIP: true 51 | pods: 52 | - 53 | name: $APP_NAME$ 54 | kubeType: 2 55 | containers: 56 | - name: tf2 57 | kubes: 7 58 | spec: 59 | template: 60 | metadata: 61 | labels: 62 | name: $APP_NAME$ 63 | spec: 64 | restartPolicy: "Always" 65 | containers: 66 | - 67 | name: tf2 68 | image: hub.kuberdock.com/tf2:1 69 | args: 70 | - -game 71 | - tf 72 | - -console 73 | - -usercon 74 | - -nohltv 75 | - +sv_pure 76 | - "1" 77 | - +map 78 | - $MAP|default:ctf_2fort|Choose your map$ 79 | - +maxplayers 80 | - "$MAX|default:24|max players$" 81 | - +sv_setsteamaccount 82 | - $STEAM_TOKEN|default:|Insert your Steam Token$ 83 | ports: 84 | - containerPort: 27015 85 | podPort: 27015 86 | protocol: TCP 87 | isPublic: True 88 | - containerPort: 27015 89 | podPort: 27015 90 | protocol: UDP 91 | isPublic: True 92 | 93 | -------------------------------------------------------------------------------- /wordpress.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:wordpress| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]WordPress[/b]. 9 | The WordPress rich content management system can utilize plugins, widgets, and themes. 10 | All the components needed for this application correct work will also be installed: [b]MySQL[/b] server. 11 | Choose the amount of resources or use recommended parameters set by default. 12 | First choose package. 13 | When you click "Order now", you will get to order processing page. 14 | postDescription: | 15 | You have installed [b]WordPress![/b] 16 | Please find more information about WordPress software on the official website [url]https://wordpress.com[/url] 17 | To access [b]WordPress[/b] use this link: [url]http://%PUBLIC_ADDRESS%[/url] 18 | Once installation is done you may want to activate and configure WP-Mail-SMTP plugin at [url]http://%PUBLIC_ADDRESS%/wp-admin/plugins.php[/url]. 19 | Otherwise WordPress mailing system won't work. 20 | # required for cPanel to do proxy to user`s domain 21 | # proxy: 22 | # root: 23 | # container: wordpress 24 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 25 | appPackages: 26 | - name: S 27 | goodFor: beginner 28 | publicIP: true 29 | pods: 30 | - 31 | name: $APP_NAME$ 32 | kubeType: 0 33 | containers: 34 | - name: mysql 35 | kubes: 6 36 | - name: wordpress 37 | kubes: 4 38 | persistentDisks: 39 | - name: mysql-persistent-storage 40 | pdSize: 1 41 | - name: wordpress-persistent-storage 42 | pdSize: 1 43 | - name: M 44 | recommended: yes 45 | goodFor: regular use 46 | publicIP: true 47 | pods: 48 | - 49 | name: $APP_NAME$ 50 | kubeType: 1 51 | containers: 52 | - name: mysql 53 | kubes: 6 54 | - name: wordpress 55 | kubes: 4 56 | persistentDisks: 57 | - name: mysql-persistent-storage 58 | pdSize: 1 59 | - name: wordpress-persistent-storage 60 | pdSize: 1 61 | - name: L 62 | goodFor: business 63 | publicIP: true 64 | pods: 65 | - 66 | name: $APP_NAME$ 67 | kubeType: 2 68 | containers: 69 | - name: mysql 70 | kubes: 6 71 | - name: wordpress 72 | kubes: 4 73 | persistentDisks: 74 | - name: mysql-persistent-storage 75 | pdSize: 2 76 | - name: wordpress-persistent-storage 77 | pdSize: 2 78 | spec: 79 | template: 80 | metadata: 81 | labels: 82 | name: $APP_NAME$ 83 | spec: 84 | volumes: 85 | - name: mysql-persistent-storage 86 | persistentDisk: 87 | pdName: wordpress_mysql_$PD_RAND|default:autogen|PD rand$ 88 | - name: wordpress-persistent-storage 89 | persistentDisk: 90 | pdName: wordpress_www_$PD_RAND$ 91 | restartPolicy: "Always" 92 | resolve: ["mysql", "wordpress"] 93 | containers: 94 | - 95 | name: mysql 96 | image: kuberdock/mysql:5.7-1 97 | env: 98 | - name: MYSQL_DATABASE 99 | value: wordpress 100 | - name: MYSQL_USER 101 | value: wordpress 102 | - name: MYSQL_PASSWORD 103 | value: $MYSQL_USER_PASSWORD|default:autogen|mysql password$ 104 | - name: MYSQL_ROOT_PASSWORD 105 | value: $MYSQL_ROOT_PASSWORD|default:autogen|mysql password$ 106 | - name: MYSQL_AUTO_MEMORY_ALLOCATE 107 | value: $MYSQL_AUTO_MEMORY_ALLOCATE|default:innodb|Please choose default MySQL engine "innodb" or "myisam"$ 108 | ports: 109 | - containerPort: 3306 110 | readinessProbe: 111 | tcpSocket: 112 | port: 3306 113 | initialDelaySeconds: 5 114 | volumeMounts: 115 | - mountPath: /var/lib/mysql 116 | name: mysql-persistent-storage 117 | - 118 | name: wordpress 119 | image: kuberdock/wordpress:4.6.1-1 120 | env: 121 | - name: WORDPRESS_DB_USER 122 | value: wordpress 123 | - name: WORDPRESS_DB_PASSWORD 124 | value: $MYSQL_USER_PASSWORD$ 125 | - name: WORDPRESS_DB_HOST 126 | value: 127.0.0.1 127 | ports: 128 | - containerPort: 80 129 | isPublic: True 130 | readinessProbe: 131 | httpGet: 132 | path: / 133 | scheme: HTTP 134 | port: 80 135 | timeoutSeconds: 30 136 | initialDelaySeconds: 5 137 | volumeMounts: 138 | - mountPath: /var/www/html 139 | name: wordpress-persistent-storage 140 | kdCopyFromImage: true 141 | workingDir: /var/www/html 142 | 143 | -------------------------------------------------------------------------------- /wordpress_elasticsearch.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:wordpress| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]WordPress with ElasticSearch[/b]. 9 | The WordPress rich content management system can utilize plugins, widgets, and themes. 10 | All the components needed for this application correct work will also be installed: [b]MySQL[/b] server, ElasticSearch server. 11 | Choose the amount of resources or use recommended parameters set by default. 12 | First choose package. 13 | When you click "Order now", you will get to order processing page. 14 | postDescription: | 15 | You have installed [b]WordPress with ElasticSearch![/b] 16 | Please find more information about WordPress and ElasticSearch software on their official websites. 17 | [url]https://wordpress.com[/url] 18 | [url]https://www.elastic.co[/url] 19 | To access [b]WordPress[/b] use this link: [url]http://%PUBLIC_ADDRESS%[/url] 20 | 21 | # required for cPanel to do proxy to user`s domain 22 | # proxy: 23 | # root: 24 | # container: wordpress 25 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 26 | appPackages: 27 | - name: S 28 | goodFor: beginner 29 | publicIP: true 30 | pods: 31 | - 32 | name: $APP_NAME$ 33 | kubeType: 0 34 | containers: 35 | - name: mysql 36 | kubes: 6 37 | - name: wordpress 38 | kubes: 4 39 | - name: elastic 40 | kubes: 6 41 | persistentDisks: 42 | - name: mysql-persistent-storage 43 | pdSize: 1 44 | - name: wordpress-persistent-storage 45 | pdSize: 1 46 | - name: elastic-persistent-storage 47 | pdSize: 1 48 | - name: M 49 | recommended: yes 50 | goodFor: regular use 51 | publicIP: true 52 | pods: 53 | - 54 | name: $APP_NAME$ 55 | kubeType: 1 56 | containers: 57 | - name: mysql 58 | kubes: 6 59 | - name: wordpress 60 | kubes: 4 61 | - name: elastic 62 | kubes: 6 63 | persistentDisks: 64 | - name: mysql-persistent-storage 65 | pdSize: 1 66 | - name: wordpress-persistent-storage 67 | pdSize: 1 68 | - name: elastic-persistent-storage 69 | pdSize: 1 70 | - name: L 71 | goodFor: business 72 | publicIP: true 73 | pods: 74 | - 75 | name: $APP_NAME$ 76 | kubeType: 2 77 | containers: 78 | - name: mysql 79 | kubes: 6 80 | - name: wordpress 81 | kubes: 4 82 | - name: elastic 83 | kubes: 6 84 | persistentDisks: 85 | - name: mysql-persistent-storage 86 | pdSize: 2 87 | - name: wordpress-persistent-storage 88 | pdSize: 2 89 | - name: elastic-persistent-storage 90 | pdSize: 2 91 | spec: 92 | template: 93 | metadata: 94 | labels: 95 | name: $APP_NAME$ 96 | spec: 97 | volumes: 98 | - name: mysql-persistent-storage 99 | persistentDisk: 100 | pdName: wordpress_mysql_$PD_RAND|default:autogen|PD rand$ 101 | - name: wordpress-persistent-storage 102 | persistentDisk: 103 | pdName: wordpress_www_$PD_RAND$ 104 | - name: elastic-persistent-storage 105 | persistentDisk: 106 | pdName: wordpress_elastic_$PD_RAND$ 107 | restartPolicy: "Always" 108 | containers: 109 | - 110 | name: mysql 111 | image: kuberdock/mysql:5.7 112 | env: 113 | - name: MYSQL_DATABASE 114 | value: wordpress 115 | - name: MYSQL_USER 116 | value: wordpress 117 | - name: MYSQL_PASSWORD 118 | value: $MYSQL_USER_PASSWORD|default:autogen|mysql password$ 119 | - name: MYSQL_ROOT_PASSWORD 120 | value: $MYSQL_ROOT_PASSWORD|default:autogen|mysql password$ 121 | - name: MYSQL_AUTO_MEMORY_ALLOCATE 122 | value: $MYSQL_AUTO_MEMORY_ALLOCATE|default:innodb|Please choose default MySQL engine "innodb" or "myisam"$ 123 | ports: 124 | - containerPort: 3306 125 | readinessProbe: 126 | tcpSocket: 127 | port: 3306 128 | initialDelaySeconds: 5 129 | volumeMounts: 130 | - mountPath: /var/lib/mysql 131 | name: mysql-persistent-storage 132 | - 133 | name: wordpress 134 | image: wordpress:4 135 | env: 136 | - name: WORDPRESS_DB_USER 137 | value: wordpress 138 | - name: WORDPRESS_DB_PASSWORD 139 | value: $MYSQL_USER_PASSWORD$ 140 | - name: WORDPRESS_DB_HOST 141 | value: 127.0.0.1 142 | ports: 143 | - containerPort: 80 144 | isPublic: True 145 | readinessProbe: 146 | httpGet: 147 | path: / 148 | scheme: HTTP 149 | port: 80 150 | timeoutSeconds: 30 151 | initialDelaySeconds: 5 152 | volumeMounts: 153 | - mountPath: /var/www/html 154 | name: wordpress-persistent-storage 155 | workingDir: /var/www/html 156 | - name: elastic 157 | image: elasticsearch:1.7.3 158 | ports: 159 | - containerPort: 9200 160 | isPublic: False 161 | - containerPort: 9300 162 | isPublic: False 163 | readinessProbe: 164 | httpGet: 165 | path: / 166 | scheme: HTTP 167 | port: 9200 168 | timeoutSeconds: 30 169 | initialDelaySeconds: 5 170 | volumeMounts: 171 | - mountPath: /usr/share/elasticsearch/data 172 | name: elastic-persistent-storage 173 | 174 | -------------------------------------------------------------------------------- /wordpress_with_backup.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: ReplicationController 3 | metadata: 4 | name: $APP_NAME|default:wordpress| Enter your application name$ 5 | kuberdock: 6 | packageID: 0 7 | preDescription: | 8 | You are installing the application [b]WordPress[/b]. 9 | The WordPress rich content management system can utilize plugins, widgets, and themes. 10 | All the components needed for this application correct work will also be installed: [b]MySQL[/b] server. 11 | Choose the amount of resources or use recommended parameters set by default. 12 | First choose package. 13 | When you click "Order now", you will get to order processing page. 14 | postDescription: | 15 | You have installed [b]WordPress![/b] 16 | Please find more information about WordPress software on the official website [url]https://wordpress.com[/url] 17 | To access [b]WordPress[/b] use this link: [url]http://%PUBLIC_ADDRESS%[/url] 18 | Your backup frequency is [b]24[/b] hours, backup folder is [b]/backup[/b] 19 | # required for cPanel to do proxy to user`s domain 20 | # proxy: 21 | # root: 22 | # container: wordpress 23 | # domain: $APP_DOMAIN|default:user_domain_list|Select application domain$ 24 | appPackages: 25 | - name: S 26 | goodFor: beginner 27 | publicIP: true 28 | pods: 29 | - 30 | name: $APP_NAME$ 31 | kubeType: 0 32 | containers: 33 | - name: mysql 34 | kubes: 6 35 | - name: wordpress 36 | kubes: 4 37 | - name: dbbackup 38 | kubes: 1 39 | persistentDisks: 40 | - name: mysql-persistent-storage 41 | pdSize: 1 42 | - name: wordpress-persistent-storage 43 | pdSize: 1 44 | - name: backup-persistent-storage 45 | pdSize: 1 46 | - name: M 47 | recommended: yes 48 | goodFor: regular use 49 | publicIP: true 50 | pods: 51 | - 52 | name: $APP_NAME$ 53 | kubeType: 1 54 | containers: 55 | - name: mysql 56 | kubes: 6 57 | - name: wordpress 58 | kubes: 4 59 | - name: dbbackup 60 | kubes: 1 61 | persistentDisks: 62 | - name: mysql-persistent-storage 63 | pdSize: 1 64 | - name: wordpress-persistent-storage 65 | pdSize: 1 66 | - name: backup-persistent-storage 67 | pdSize: 1 68 | - name: L 69 | goodFor: business 70 | publicIP: true 71 | pods: 72 | - 73 | name: $APP_NAME$ 74 | kubeType: 2 75 | containers: 76 | - name: mysql 77 | kubes: 6 78 | - name: wordpress 79 | kubes: 4 80 | - name: dbbackup 81 | kubes: 1 82 | persistentDisks: 83 | - name: mysql-persistent-storage 84 | pdSize: 2 85 | - name: wordpress-persistent-storage 86 | pdSize: 2 87 | - name: backup-persistent-storage 88 | pdSize: 2 89 | spec: 90 | template: 91 | metadata: 92 | labels: 93 | name: $APP_NAME$ 94 | spec: 95 | volumes: 96 | - name: mysql-persistent-storage 97 | persistentDisk: 98 | pdName: wordpress_mysql_$PD_RAND|default:autogen|PD rand$ 99 | - name: wordpress-persistent-storage 100 | persistentDisk: 101 | pdName: wordpress_www_$PD_RAND$ 102 | - name: backup-persistent-storage 103 | persistentDisk: 104 | pdName: backup_$PD_RAND$ 105 | restartPolicy: "Always" 106 | resolve: [db] 107 | containers: 108 | - 109 | name: mysql 110 | image: kuberdock/mysql:5.7 111 | env: 112 | - name: MYSQL_DATABASE 113 | value: wordpress 114 | - name: MYSQL_USER 115 | value: wordpress 116 | - name: MYSQL_PASSWORD 117 | value: $MYSQL_USER_PASSWORD|default:autogen|mysql password$ 118 | - name: MYSQL_ROOT_PASSWORD 119 | value: $MYSQL_ROOT_PASSWORD|default:autogen|mysql password$ 120 | - name: MYSQL_AUTO_MEMORY_ALLOCATE 121 | value: $MYSQL_AUTO_MEMORY_ALLOCATE|default:innodb|Please choose default MySQL engine "innodb" or "myisam"$ 122 | ports: 123 | - containerPort: 3306 124 | readinessProbe: 125 | tcpSocket: 126 | port: 3306 127 | initialDelaySeconds: 5 128 | volumeMounts: 129 | - mountPath: /var/lib/mysql 130 | name: mysql-persistent-storage 131 | - 132 | name: wordpress 133 | image: wordpress:4.4.0 134 | env: 135 | - name: WORDPRESS_DB_USER 136 | value: wordpress 137 | - name: WORDPRESS_DB_PASSWORD 138 | value: $MYSQL_USER_PASSWORD$ 139 | - name: WORDPRESS_DB_HOST 140 | value: 127.0.0.1 141 | ports: 142 | - containerPort: 80 143 | isPublic: True 144 | readinessProbe: 145 | httpGet: 146 | path: / 147 | scheme: HTTP 148 | port: 80 149 | timeoutSeconds: 30 150 | initialDelaySeconds: 5 151 | volumeMounts: 152 | - mountPath: /var/www/html 153 | name: wordpress-persistent-storage 154 | workingDir: /var/www/html 155 | - 156 | name: dbbackup 157 | image: kuberdock/mysql-backup:5.7 158 | env: 159 | - name: DB_USER 160 | value: wordpress 161 | - name: DB_PASS 162 | value: $MYSQL_USER_PASSWORD$ 163 | - name: DB_DUMP_FREQ 164 | value: "1440" 165 | - name: DB_DUMP_TARGET 166 | value: /backup 167 | - name: DB_DUMP_DEBUG 168 | value: "true" 169 | volumeMounts: 170 | - mountPath: /backup 171 | name: backup-persistent-storage 172 | workingDir: /backup 173 | --------------------------------------------------------------------------------