From ed4bc50dae552ade32163305e4ae875cd384c4e1 Mon Sep 17 00:00:00 2001 From: David Soff Date: Tue, 22 Mar 2016 15:51:32 +0100 Subject: [PATCH] Update ghost to allow for configurable public port --- templates/ghost/0/docker-compose.yml | 2 +- templates/ghost/0/rancher-compose.yml | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/templates/ghost/0/docker-compose.yml b/templates/ghost/0/docker-compose.yml index 62a7744..d514adb 100644 --- a/templates/ghost/0/docker-compose.yml +++ b/templates/ghost/0/docker-compose.yml @@ -1,4 +1,4 @@ ghost: image: ghost ports: - - "80:2368" + - ${public_port}:2368 diff --git a/templates/ghost/0/rancher-compose.yml b/templates/ghost/0/rancher-compose.yml index 1598eb5..364d55e 100644 --- a/templates/ghost/0/rancher-compose.yml +++ b/templates/ghost/0/rancher-compose.yml @@ -5,5 +5,10 @@ uuid: ghost-0 minimum_rancher_version: v0.51.0 questions: - + - variable: public_port + description: "public port to access the blog" + label: "Public Port" + required: true + default: "80" + type: "int" ghost: