1
0
Fork 0

thefossguy-blog: use :Z, add refs for unofficial image and use a good container_name

This commit is contained in:
Pratham Patel 2022-07-21 22:53:32 +05:30
parent 0e4a2de993
commit 51c84ca17f
1 changed files with 6 additions and 2 deletions

View File

@ -3,14 +3,18 @@ version: 3
services:
server:
image: klakegg/hugo:alpine
container_name: hugo-thefossguy-blog
container_name: hugo-thefossguy-blog-vaikunthnatham
restart: always
command: server
ports:
- 8030:1313
volumes:
- /trayimurti/containers/volumes/hugo/thefossguy-blog:/src:Z
- /trayimurti/containers/volumes/thefossguy-blog:/src:Z
environment:
- TZ=Asia/Kolkata
security_opt:
- label=disable
# this image is not official, but is endorsed in a somewhat official capacity
# https://discourse.gohugo.io/t/klakeggs-wonderful-hugo-docker-image-update-thread/20347
# https://gohugo.io/getting-started/installing/#docker