Update compose file and use local timezone in container.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user