version: '3' services: jekyll: image: jekyll/jekyll:latest command: bash -c "gem install bundler -v 2.2.3 && bundle _2.2.3_ install && bundle exec jekyll serve --host 0.0.0.0 --no-watch" restart: unless-stopped volumes: - .:/srv/jekyll:cached caddy: image: caddy:latest restart: unless-stopped ports: - 80:80 - 443:443 volumes: - ./caddy/Caddyfile:/etc/caddy/Caddyfile - ./caddy/caddy_data:/data - ./caddy/caddy_config:/config