Update container environment to use Hugo's own images.
This commit is contained in:
+11
-7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user