hugo, add host's timezone to the container.
This commit is contained in:
1 parent
8432fe4e2a
commit
d0bbe0bf34
1 file changed
+3
@@ -12,6 +12,9 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- $NGINX_PORT:80 # Production minified files served using NGINX.
|
- $NGINX_PORT:80 # Production minified files served using NGINX.
|
||||||
#- $HUGO_PORT:1380 # Development files with drafts served by Hugo Server.
|
#- $HUGO_PORT:1380 # Development files with drafts served by Hugo Server.
|
||||||
|
volumes:
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
environment:
|
environment:
|
||||||
- REPO=$REPO
|
- REPO=$REPO
|
||||||
- BRANCH=$BRANCH
|
- BRANCH=$BRANCH
|
||||||
|
|||||||
Reference in new issue
Block a user