diff options
| author | Pierre-Alexandre Losson <[email protected]> | 2019-11-08 02:36:41 +0100 |
|---|---|---|
| committer | Kasra Bigdeli <[email protected]> | 2019-11-07 20:36:41 -0500 |
| commit | f710b426ad54a12d86c7320cbfa6f1116e6bf3fc (patch) | |
| tree | da6de1cbb9f5637f27a50dabff0af362bd3e41ee | |
| parent | 112f95fccc8c572a7a4e0c8ba74da0cb53cfdb4e (diff) | |
| download | caprover-one-click-apps-f710b426ad54a12d86c7320cbfa6f1116e6bf3fc.tar.gz caprover-one-click-apps-f710b426ad54a12d86c7320cbfa6f1116e6bf3fc.zip | |
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
| -rw-r--r-- | public/v2/apps/ghost.json | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/public/v2/apps/ghost.json b/public/v2/apps/ghost.json index 135cb0f..c4f6c00 100644 --- a/public/v2/apps/ghost.json +++ b/public/v2/apps/ghost.json @@ -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", @@ -113,6 +113,12 @@ "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", "id":"$$cap_ghost_smtp_service", @@ -148,4 +154,4 @@ "label":"STMP from address" } ] -}
\ No newline at end of file +} |
