-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (33 loc) · 855 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (33 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
version: '3.3'
services:
# Jekyll service for generating the static site
jekyll:
image: 'jekyll/jekyll:4.2.2'
# JEKYLL_CMD can be set to change the run behavior (defaults to "build --watch")
command: jekyll ${JEKYLL_CMD-build --watch}
networks:
- jekyll_gotenberg
volumes:
- ./:/srv/jekyll
# Nginx serves the static site on port 80, for Gotenberg and local developers
nginx:
image: 'nginx:1.23.4'
networks:
- jekyll_gotenberg
ports:
- '80:80'
volumes:
- ./_site:/usr/share/nginx/html
# Gotenberg receives requests on port 3000
gotenberg:
image: 'gotenberg/gotenberg:7.8.2'
environment:
# Disable Open Office conversion
DISABLE_UNOCONV: 1
networks:
- jekyll_gotenberg
expose:
- '3000'
networks:
jekyll_gotenberg:
driver: 'bridge'