Add custom port variable for wordpress (#103)

* add variable for custom public port

* add public_port variable
This commit is contained in:
Nick Portokallidis 2016-05-16 19:23:43 +03:00 committed by Bill Maxwell
parent 9743397540
commit 0a2e21f8f3
2 changed files with 8 additions and 2 deletions

View File

@ -3,7 +3,7 @@ wordpress:
links:
- db:mysql
ports:
- 80:80
- ${public_port}:80
db:
image: mariadb

View File

@ -5,6 +5,12 @@
uuid: Wordpress-0
minimum_rancher_version: v0.51.0
questions:
- variable: public_port
description: "public port to access the wordpress site"
label: "Public Port"
required: true
default: "80"
type: "int"
wordpress: