From 6428a9f8414e97301c5f9f1b0c08ddb5d8419204 Mon Sep 17 00:00:00 2001 From: Lieuwe Leene Date: Sun, 13 Nov 2022 12:36:43 +0100 Subject: [PATCH] use volumer --- docker-compose.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 73ec0e9..f225aa9 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -7,4 +7,9 @@ services: context: ./personal-page args: HUGO_ENV_ARG: "production" - HUGO_CMD: "-d localhost" + HUGO_CMD: "-d ${NGINX_HOST}" + volumes: + - hugo_data:/var/www/hugo:z + +volumes: + hugo_data: