Initial commit
continuous-integration/drone/push Build is passing Details

This commit is contained in:
bmen 2020-10-08 20:20:24 +02:00
parent 328cc6ad91
commit 47bff20e75
4 changed files with 42 additions and 0 deletions

12
.drone.yml Normal file
View File

@ -0,0 +1,12 @@
kind: pipeline
type: exec
name: default
platform:
os: linux
arch: amd64
steps:
- name: deploy
commands:
- docker-compose up -d

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
_site/
.jekyll-cache/

18
docker-compose-prod.yml Normal file
View File

@ -0,0 +1,18 @@
version: '3'
networks:
webproxy:
external: true
services:
jekyll:
container_name: 2032er-blog
image: jekyll/jekyll:latest
command: jekyll serve --force_polling --verbose
networks:
- webproxy
volumes:
- ./:/srv/jekyll
- /opt/appdata/2032er-blog/_site:/srv/jekyll/_site
- /opt/appdata/2032er-blog/.jekyll-cache:/srv/jekyll/.jekyll-cache
- /opt/appdata/2032er-blog/Gemfile.lock:/srv/jekyll/Gemfile.lock

10
docker-compose.yml Normal file
View File

@ -0,0 +1,10 @@
version: '3'
services:
jekyll:
image: jekyll/jekyll:latest
command: jekyll serve --watch --force_polling --verbose
ports:
- 4000:4000
volumes:
- ./:/srv/jekyll