Update compose file and use local timezone in container.

This commit is contained in:
2025-03-30 21:43:19 +02:00
parent 664b195cf3
commit a02e3eb569
3 changed files with 6 additions and 4 deletions

View File

@ -1,15 +1,17 @@
services:
build:
image: hugomods/hugo:latest
image: hugomods/hugo:ci
command: hugo
volumes:
- ".:/src"
user: 1000:1000
server:
image: hugomods/hugo:latest
image: hugomods/hugo:ci
command: server --buildDrafts --buildFuture
volumes:
- ".:/src"
ports:
- "127.0.0.1:1313:1313"
user: 1000:1000
environment:
- TZ=Europe/Berlin