Zomg get it finally working for production

This commit is contained in:
Luke Murphy 2020-05-01 13:30:54 +02:00
parent d6a8259e08
commit 16339ecc2e
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
4 changed files with 13 additions and 12 deletions

5
Dockerfile Normal file
View File

@ -0,0 +1,5 @@
FROM decentral1se/jekyll:4
COPY . ${WORKDIR}
RUN bundle install

View File

@ -1,4 +1,7 @@
source "https://rubygems.org" source "https://rubygems.org"
ruby "2.7.1" ruby "2.7.1"
gemspec gemspec
gem "jekyll-feed" gem "jekyll-feed"

View File

@ -3,12 +3,6 @@ version: "3.7"
services: services:
jekyll: jekyll:
command: > command: jekyll serve --watch --force_polling --trace
jekyll serve \
--watch \
--force_polling \
--verbose \
--config _config.yml \
--trace
volumes: volumes:
- ".:/srv/jekyll" - ".:/srv/jekyll"

View File

@ -3,11 +3,10 @@ version: "3.7"
services: services:
jekyll: jekyll:
command: > image: decentral1se/autonomic.zone:latest
jekyll serve \ command: jekyll serve --host 0.0.0.0 --trace
--verbose \ environment:
--config _config.yml \ JEKYLL_ENV: production
--trace
networks: networks:
- proxy - proxy
deploy: deploy: