From 6323b4c2c9af49aed2956cc8102e8018dacec8fc Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Mon, 6 Apr 2020 13:16:51 +0200 Subject: [PATCH] Revert "Drop the host flag" This reverts commit 8bdfe162493ede19175e019e59b4ff725c657a96. Going to need that to open up the network space outside of the container. See https://github.com/moby/moby/issues/28121. --- ansible/pre-deploy.yml | 1 + sbin/entrypoint.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/ansible/pre-deploy.yml b/ansible/pre-deploy.yml index dd85a57..d10ea40 100644 --- a/ansible/pre-deploy.yml +++ b/ansible/pre-deploy.yml @@ -48,4 +48,5 @@ restart: false config: DOKKU_LETSENCRYPT_EMAIL: "{{ autonomic_admin_mail }}" + JEKYLL_HOST: "{{ domain }}" JEKYLL_PORT: "{{ http_port }}" diff --git a/sbin/entrypoint.sh b/sbin/entrypoint.sh index d95a6f5..9a18a73 100755 --- a/sbin/entrypoint.sh +++ b/sbin/entrypoint.sh @@ -8,6 +8,7 @@ run_jekyll() { bundle exec jekyll serve \ --port "$JEKYLL_PORT" \ + --host "$JEKYLL_HOST" \ --trace }