Ghost port number as a variable (#102)

* Allow setting ghost port number on install

The port was always set to 80 even if protocol is set to https. Added the setting to ask for port number.

* trailing comma typo
This commit is contained in:
Pierre-Alexandre Losson 2019-11-08 02:36:41 +01:00 committed by Kasra Bigdeli
parent 112f95fccc
commit f710b426ad
1 changed files with 8 additions and 2 deletions

View File

@ -13,7 +13,7 @@
"GHOST_HOST":"$$cap_ghost_host",
"GHOST_PASSWORD":"$$cap_ghost_password",
"GHOST_PROTOCOL":"$$cap_ghost_protocol",
"GHOST_PORT_NUMBER": "80",
"GHOST_PORT_NUMBER": "$$cap_ghost_port",
"MARIADB_HOST":"srv-captain--$$cap_appname-db",
"MARIADB_PORT_NUMBER":"3306",
"SMTP_FROM_ADDRESS":"$$cap_ghost_smtp_from",
@ -112,6 +112,12 @@
"label":"Ghost Protocol",
"validRegex":"/^([^\\s^\\/])+$/"
},
{
"defaultValue":"80",
"description":"Port that you will be using",
"id":"$$cap_ghost_port",
"label":"Ghost Port"
},
{
"defaultValue":"GMail",
"description":"Ghost uses node mailer, check this docs https://docs.ghost.org/concepts/config/#mail",
@ -148,4 +154,4 @@
"label":"STMP from address"
}
]
}
}