blog/docker-compose.yml

16 lines
301 B
YAML
Raw Normal View History

2024-07-30 21:16:25 +00:00
services:
build:
2024-08-05 17:54:44 +00:00
image: hugomods/hugo:latest
command: hugo
2024-07-30 21:16:25 +00:00
volumes:
- ".:/src"
2024-08-05 17:54:44 +00:00
user: 1000:1000
2024-07-30 21:16:25 +00:00
server:
2024-08-05 17:54:44 +00:00
image: hugomods/hugo:latest
command: server --buildDrafts --buildFuture
2024-07-30 21:16:25 +00:00
volumes:
- ".:/src"
ports:
2024-08-05 17:54:44 +00:00
- "127.0.0.1:1313:1313"
user: 1000:1000