Update container environment to use Hugo's own images.

This commit is contained in:
2026-05-15 17:40:27 +02:00
parent 98b97e1667
commit 6b7a615ff8
3 changed files with 14 additions and 10 deletions
+11 -7
View File
@@ -1,17 +1,21 @@
services:
build:
image: hugomods/hugo:ci
command: hugo
# image: hugomods/hugo:ci
image: ghcr.io/gohugoio/hugo
command: build
volumes:
- ".:/src"
- ".:/project"
user: 1000:1000
server:
image: hugomods/hugo:ci
command: server --buildDrafts --buildFuture
# image: hugomods/hugo:exts
image: ghcr.io/gohugoio/hugo
command: server --bind 0.0.0.0 --buildDrafts --buildFuture
volumes:
- ".:/src"
# - ".:/src"
- ".:/project"
ports:
- "127.0.0.1:1313:1313"
user: 1000:1000
environment:
- TZ=Europe/Berlin
ENVIRONMENT: development
TZ: Europe/Berlin