From 053cc85c42bfe1da3d68d8c83f90fe9a6772effa Mon Sep 17 00:00:00 2001 From: Chris Barless Date: Thu, 24 May 2018 16:26:11 -0400 Subject: [PATCH] Add a jekyll container --- website/docker-compose.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/website/docker-compose.yml b/website/docker-compose.yml index 10a6c8b..340e562 100644 --- a/website/docker-compose.yml +++ b/website/docker-compose.yml @@ -20,3 +20,22 @@ services: - "nginx-proxy" environment: ACME_CA_URI: https://acme-staging.api.letsencrypt.org/directory # testing value + + jekyll: + command: jekyll serve + image: jekyll/jekyll:latest + depends_on: + - nginx-proxy + - letsencrypt-nginx-proxy-companion + volumes: + - $PWD:/srv/jekyll + - $PWD/vendor/bundle:/usr/local/bundle + ports: + - "4000:4000" + - "35729:35729" + - "3000:3000" + environment: + VIRTUAL_HOST: "tomesh.dev,www.tomesh.dev" + VIRTUAL_PORT: 4000 + LETSENCRYPT_HOST: "tomesh.dev,www.tomesh.dev" + LETSENCRYPT_EMAIL: "admin@admin.com"