From ca7065794b646ded0e834df973e647e41f5801fc Mon Sep 17 00:00:00 2001 From: alistair Date: Tue, 3 Oct 2023 15:22:56 +0100 Subject: [PATCH] added restart policy to hugo --- hugo/compose_hugo.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hugo/compose_hugo.yaml b/hugo/compose_hugo.yaml index 3233dba..e9f4dd1 100644 --- a/hugo/compose_hugo.yaml +++ b/hugo/compose_hugo.yaml @@ -3,10 +3,11 @@ services: hugo-blog: image: klakegg/hugo # :0.92.0 # Use the appropriate Hugo version command: server --bind 0.0.0.0 + restart: unless-stopped ports: - "13130:1313" # Adjust the port if needed volumes: - /media/main/media/tools/docker/volumes/hugo_sites:/sites - working_dir: /sites/pr_100_mediaserver_home + working_dir: /sites/pr_001_mediaserver_home # command: tail # -f /dev/null