blog/docker-compose.yml

16 lines
301 B
YAML

services:
build:
image: hugomods/hugo:latest
command: hugo
volumes:
- ".:/src"
user: 1000:1000
server:
image: hugomods/hugo:latest
command: server --buildDrafts --buildFuture
volumes:
- ".:/src"
ports:
- "127.0.0.1:1313:1313"
user: 1000:1000