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:
parent
112f95fccc
commit
f710b426ad
|
|
@ -13,7 +13,7 @@
|
||||||
"GHOST_HOST":"$$cap_ghost_host",
|
"GHOST_HOST":"$$cap_ghost_host",
|
||||||
"GHOST_PASSWORD":"$$cap_ghost_password",
|
"GHOST_PASSWORD":"$$cap_ghost_password",
|
||||||
"GHOST_PROTOCOL":"$$cap_ghost_protocol",
|
"GHOST_PROTOCOL":"$$cap_ghost_protocol",
|
||||||
"GHOST_PORT_NUMBER": "80",
|
"GHOST_PORT_NUMBER": "$$cap_ghost_port",
|
||||||
"MARIADB_HOST":"srv-captain--$$cap_appname-db",
|
"MARIADB_HOST":"srv-captain--$$cap_appname-db",
|
||||||
"MARIADB_PORT_NUMBER":"3306",
|
"MARIADB_PORT_NUMBER":"3306",
|
||||||
"SMTP_FROM_ADDRESS":"$$cap_ghost_smtp_from",
|
"SMTP_FROM_ADDRESS":"$$cap_ghost_smtp_from",
|
||||||
|
|
@ -112,6 +112,12 @@
|
||||||
"label":"Ghost Protocol",
|
"label":"Ghost Protocol",
|
||||||
"validRegex":"/^([^\\s^\\/])+$/"
|
"validRegex":"/^([^\\s^\\/])+$/"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"defaultValue":"80",
|
||||||
|
"description":"Port that you will be using",
|
||||||
|
"id":"$$cap_ghost_port",
|
||||||
|
"label":"Ghost Port"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"defaultValue":"GMail",
|
"defaultValue":"GMail",
|
||||||
"description":"Ghost uses node mailer, check this docs https://docs.ghost.org/concepts/config/#mail",
|
"description":"Ghost uses node mailer, check this docs https://docs.ghost.org/concepts/config/#mail",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue