rancher-compose.yml 2.17 KB
Newer Older
Diego's avatar
Diego committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
version: '2'
catalog:
  name: "Hacklab WordPress Single"
  version: 0.1
  description: |
    WordPress Stack predefined to run behind RancherActiveProxy with Hacklab's Docker image.
  questions:
    - variable: "mysql_database"
      type: string
      required: true
      label: "MySql Database Name"
      description: "The WordPress Database name in MySql server"
      default: "wordpress"
    - variable: "mysql_user"
      type: string
      required: true
      label: "MySql Username"
      description: "The wordpress user"
      default: "wordpress"
    - variable: "mysql_password"
      type: password
      required: true
      label: "MySql username password"
      description: "The password of wordpress user"
      default: "wordpress"
    - variable: "mysql_root_password"
      type: password
      required: true
      label: "MySql ROOT password"
      description: "The password of ROOT user"
      default: "WordP4ess@2k17"
    - variable: "wordpress_table_prefix"
      type: string
Diego's avatar
Diego committed
34
      required: false
Diego's avatar
Diego committed
35 36 37 38 39 40 41 42 43
      label: "WordPress Table Prefix"
      description: "For security reasons change the wp_ prefix"
      default: "hack_"
    - variable: "wordpress_volume_path"
      type: string
      required: true
      label: "Volume Path"
      description: "The path where files will be stored in server"
      default: "/home/wordpress/"
Diego's avatar
Diego committed
44 45 46 47 48 49
    - variable: "rap_host"
      type: string
      required: true
      label: "RAP Host"
      description: "Write your hosts separated by comma. Ex: example.com,www.example.com"
      default: ""
Diego's avatar
Diego committed
50 51 52
    - variable: "le_email"
      type: string
      required: false
Diego's avatar
Diego committed
53
      label: "LetsEncrypt's E-mail"
Diego's avatar
Diego committed
54 55 56
      description: "E-mail to be used in LetsEncrypt"
      default: "sysadmin@hacklab.com.br"
    - variable: "le_host"
Diego's avatar
Diego committed
57
      type: string
Diego's avatar
Diego committed
58
      required: false
Diego's avatar
Diego committed
59
      label: "LetsEncrypt's Hosts"
Diego's avatar
Diego committed
60 61
      description: "Write your hosts for SSL certificates separated by comma. Ex: example.com,www.example.com"
      default: ""
Diego's avatar
Diego committed
62
    - variable: "host_label"
Diego's avatar
Diego committed
63
      type: string
Diego's avatar
Diego committed
64
      required: true
Diego's avatar
Diego committed
65 66 67
      label: "Host Label"
      description: "Schedule affinity, host must have label key=value"
      default: "name=dragon"
Diego's avatar
Diego committed
68 69 70 71 72

web:
  scale: 1
mysql:
  scale: 1