pages/docker-compose.yml
George 6625f2395a
Digital Bookshelf V2 (#2866)
Since I was annoyed at not being able to use
[jekyll-archives](https://github.com/jekyll/jekyll-archives) to create
an archive for the books, I decided to implement myself the
[jekyll-archives-v2](https://github.com/george-gca/jekyll-archives-v2)
that doesn't have this limitation.

Closes #923.

---------

Signed-off-by: George Araújo <george.gcac@gmail.com>
2025-02-28 13:57:36 -03:00

22 lines
705 B
YAML

# this file uses prebuilt image in dockerhub
services:
jekyll:
image: amirpourmand/al-folio:v0.14.0
build: .
# uncomment these if you are having this issue with the build:
# /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/site.rb:509:in `initialize': Permission denied @ rb_sysopen - /srv/jekyll/.jekyll-cache/.gitignore (Errno::EACCES)
# and fill the args values with the output of the commands on the right
# build:
# args:
# GROUPID: # id -g
# GROUPNAME: # id -gn
# USERID: # id -u
# USERNAME: # echo $USER
ports:
- 8080:8080
- 35729:35729
volumes:
- .:/srv/jekyll
environment:
- JEKYLL_ENV=development