Add docker-compose for easier local preview (#287)

This commit is contained in:
nomuna 2022-04-11 23:18:36 +02:00 committed by GitHub
parent b515de8368
commit 934c8c3313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 1 deletions

View File

@ -35,6 +35,15 @@ Change all the details from one place: ``_data/data.yml``
Watch my [video](https://www.youtube.com/embed/T2nx6tj-ZH4) on installation. Watch my [video](https://www.youtube.com/embed/T2nx6tj-ZH4) on installation.
## To preview/edit localy with docker
```sh
docker-compose up
```
*docker-compose.yml* file is used to create a container that is reachable under http://localhost:4000.
Changes *_data/data.yml* will be visible after a while.
## Skins ## Skins
There are 6 color schemes available: There are 6 color schemes available:

9
docker-compose.yml Normal file
View File

@ -0,0 +1,9 @@
version: "3.8"
services:
jekyll:
image: jekyll/jekyll:3.8
command: jekyll serve --force_polling
ports:
- 4000:4000
volumes:
- .:/srv/jekyll