Browse Source

Initial commit

master
bmen 1 year ago
parent
commit
47bff20e75
  1. 12
      .drone.yml
  2. 2
      .gitignore
  3. 18
      docker-compose-prod.yml
  4. 10
      docker-compose.yml

12
.drone.yml

@ -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

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

18
docker-compose-prod.yml

@ -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

@ -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
Loading…
Cancel
Save