added docker-compose.yml

This commit is contained in:
putro 2019-02-28 20:39:13 +01:00
parent 760c63d64a
commit d772edef47

18
docker-compose.yml Normal file
View File

@ -0,0 +1,18 @@
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