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 }