Skip to content

Commit 598fdcb

Browse files
committed
Added docker-compose.yaml to use hugomods/hugo image
1 parent 6562ee6 commit 598fdcb

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docker-compose.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
services:
2+
# hugo:
3+
# image: "peaceiris/hugo:v${HUGO_VERSION}"
4+
# # image: peaceiris/hugo:v${HUGO_VERSION}-mod # Hugo Modules
5+
# # image: peaceiris/hugo:v${HUGO_VERSION}-full # Hugo Modules and Node.js
6+
# ports:
7+
# - 1313:1313
8+
# volumes:
9+
# - ${PWD}:/src
10+
# command:
11+
# - server
12+
# - --bind=0.0.0.0
13+
# - --buildDrafts
14+
15+
hugo:
16+
image: hugomods/hugo:${HUGO_VERSION}
17+
ports:
18+
- 1313:1313
19+
volumes:
20+
- ${PWD}:/src
21+
command: hugo
22+
- server
23+
- --bind=0.0.0.0
24+
- --buildDrafts

0 commit comments

Comments
 (0)