13 lines
462 B
YAML
13 lines
462 B
YAML
|
|
services:
|
||
|
|
nginx:
|
||
|
|
image: nginx
|
||
|
|
volumes:
|
||
|
|
- "./_site:/var/www/public"
|
||
|
|
- "./nginx/nginx.conf:/etc/nginx/nginx.conf"
|
||
|
|
- "./nginx/html/404.html:/usr/share/nginx/html/404.html"
|
||
|
|
# to use jekyll's 404 page, uncomment the line below and disable the line above
|
||
|
|
# Important: ensure that 404.html exist else this will throw an error during build
|
||
|
|
# - "./web/_site/404.html:/usr/share/nginx/html/404.html"
|
||
|
|
ports:
|
||
|
|
- 42072:80
|