19 lines
332 B
YAML
19 lines
332 B
YAML
|
version: '3'
|
||
|
|
||
|
services:
|
||
|
hugo:
|
||
|
image: jojomi/hugo:latest
|
||
|
container_name: hugo
|
||
|
volumes:
|
||
|
- ./:/src
|
||
|
- /tmp/hugo-output/:/output
|
||
|
environment:
|
||
|
- HUGO_WATCH='true'
|
||
|
#- HUGO_REFRESH_TIME=3600
|
||
|
#- HUGO_THEME=mytheme
|
||
|
#- HUGO_BASEURL=mydomain.com
|
||
|
restart: always
|
||
|
ports:
|
||
|
- 1313:1313
|
||
|
|