added drupal to community-catalog
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
version: '2'
|
||||
services:
|
||||
web:
|
||||
image: drupal:${drupal_tag}
|
||||
ports:
|
||||
- ${public_port}:80
|
||||
depends_on:
|
||||
- db
|
||||
db:
|
||||
image: mysql:${mysql_tag}
|
||||
environment:
|
||||
MYSQL_DATABASE: ${database}
|
||||
MYSQL_ROOT_PASSWORD: ${mysql_root_password}
|
||||
MYSQL_USER: ${mysql_newusr}
|
||||
MYSQL_PASSWORD: ${mysql_newusr_password}
|
||||
@@ -0,0 +1,54 @@
|
||||
.catalog:
|
||||
name: "Drupal"
|
||||
version: "v0.1.0"
|
||||
description: "Drupal is an open source CMS powering millions of websites and applications."
|
||||
uuid: Drupal-0
|
||||
minimum_rancher_version: v0.51.0
|
||||
questions:
|
||||
- variable: drupal_tag
|
||||
description: "docker image tag"
|
||||
label: "Drupal Image Tag"
|
||||
required: false
|
||||
default: "latest"
|
||||
type: "string"
|
||||
|
||||
- variable: mysql_tag
|
||||
description: "docker image tag"
|
||||
label: "MYSQL Image Tag"
|
||||
required: false
|
||||
default: "latest"
|
||||
type: "string"
|
||||
|
||||
- variable: public_port
|
||||
description: "public port to access the drupal site"
|
||||
label: "Public Port"
|
||||
required: true
|
||||
default: "80"
|
||||
type: "int"
|
||||
|
||||
- variable: database
|
||||
description: "database name"
|
||||
label: "MYSQL_DATABASE"
|
||||
required: true
|
||||
type: "string"
|
||||
|
||||
- variable: mysql_root_password
|
||||
description: "password for root user"
|
||||
label: "MYSQL_ROOT_PASSWORD"
|
||||
required: true
|
||||
type: "string"
|
||||
|
||||
- variable: mysql_newusr
|
||||
description: "new user name"
|
||||
label: "MYSQL_USER"
|
||||
required: false
|
||||
type: "string"
|
||||
|
||||
- variable: mysql_newusr_password
|
||||
description: "new user password"
|
||||
label: "MYSQL_USER_PASSWORD"
|
||||
required: false
|
||||
type: "string"
|
||||
|
||||
drupal:
|
||||
retain_ip: true
|
||||
Reference in New Issue
Block a user