Commit bdeaa19e authored by Diego's avatar Diego
Browse files

Correct Catalog item wordpress

parent 779e04cf
...@@ -20,12 +20,13 @@ services: ...@@ -20,12 +20,13 @@ services:
volumes: volumes:
- ${wordpress_volume_path}/wp-content/uploads:/var/www/html/wp-content/uploads - ${wordpress_volume_path}/wp-content/uploads:/var/www/html/wp-content/uploads
- ${wordpress_volume_path}/wp-content/plugins:/var/www/html/wp-content/plugins - ${wordpress_volume_path}/wp-content/plugins:/var/www/html/wp-content/plugins
- ${wordpress_volume_path}/php:/usr/local/etc/php
links: links:
- mysql - mysql
labels: labels:
rap.host: ${rap_host}
rap.le_email: ${le_email} rap.le_email: ${le_email}
rap.le_host: ${le_host} rap.le_host: ${le_host}
rap.client_max_body_size: 2048m rap.client_max_body_size: 2048m
io.rancher.container.pull_image: always io.rancher.container.pull_image: always
rap.host: ${rap_host} io.rancher.scheduler.affinity:host_label: ${host_label}
io.rancher.container.pull_image: always
...@@ -41,6 +41,12 @@ catalog: ...@@ -41,6 +41,12 @@ catalog:
label: "Volume Path" label: "Volume Path"
description: "The path where files will be stored in server" description: "The path where files will be stored in server"
default: "/home/wordpress/" default: "/home/wordpress/"
- variable: "rap_host"
type: string
required: true
label: "RAP Host"
description: "Write your hosts separated by comma. Ex: example.com,www.example.com"
default: ""
- variable: "le_email" - variable: "le_email"
type: string type: string
required: false required: false
...@@ -53,12 +59,12 @@ catalog: ...@@ -53,12 +59,12 @@ catalog:
label: "LetsEncrypt's Hosts" label: "LetsEncrypt's Hosts"
description: "Write your hosts for SSL certificates separated by comma. Ex: example.com,www.example.com" description: "Write your hosts for SSL certificates separated by comma. Ex: example.com,www.example.com"
default: "" default: ""
- variable: "rap_host" - variable: "host_label"
type: string type: string
required: true required: true
label: "RAP Host" label: "Host Label"
description: "Write your hosts separated by comma. Ex: example.com,www.example.com" description: "Schedule affinity, host must have label key=value"
default: "" default: "name=dragon"
web: web:
scale: 1 scale: 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment