rancher-compose.yml 1.98 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 44 45 46 47 48 49 50
      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/"
    - variable: "le_email"
      type: string
      required: false
      label: "LetsEncrypt E-mail"
      description: "E-mail to be used in LetsEncrypt"
      default: "sysadmin@hacklab.com.br"
    - variable: "le_host"
Diego's avatar
Diego committed
51
      type: string
Diego's avatar
Diego committed
52 53 54 55 56 57
      required: false
      label: "LetsEncrypt Hosts"
      description: "Write your hosts for SSL certificates separated by comma. Ex: example.com,www.example.com"
      default: ""
    - variable: "rap_host"
      type: string
Diego's avatar
Diego committed
58
      required: true
Diego's avatar
Diego committed
59 60 61 62 63 64 65 66
      label: "RAP Host"
      description: "Write your hosts separated by comma. Ex: example.com,www.example.com"
      default: ""

web:
  scale: 1
mysql:
  scale: 1