diff --git a/templates/drupal/0/docker-compose.yml b/templates/drupal/0/docker-compose.yml new file mode 100644 index 0000000..4de1419 --- /dev/null +++ b/templates/drupal/0/docker-compose.yml @@ -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} diff --git a/templates/drupal/0/rancher-compose.yml b/templates/drupal/0/rancher-compose.yml new file mode 100644 index 0000000..b73475b --- /dev/null +++ b/templates/drupal/0/rancher-compose.yml @@ -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 diff --git a/templates/drupal/catalogIcon-drupal.svg b/templates/drupal/catalogIcon-drupal.svg new file mode 100644 index 0000000..c362f21 --- /dev/null +++ b/templates/drupal/catalogIcon-drupal.svg @@ -0,0 +1,967 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/drupal/config.yml b/templates/drupal/config.yml new file mode 100644 index 0000000..7dc84b4 --- /dev/null +++ b/templates/drupal/config.yml @@ -0,0 +1,6 @@ +name: Drupal +description: | + Drupal is an open source CMS powering millions of websites and applications. +version: v0.1 +category: CMS +maintainer: Salim Ibrahim