From fbf00cd1545a698e00fb57454142c22ff1d29fc8 Mon Sep 17 00:00:00 2001 From: Daniel Kraus Date: Mon, 5 Aug 2024 19:54:44 +0200 Subject: [PATCH] Use image from hugomods. --- docker-compose.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5e2a37c..f1b78cf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,13 +1,15 @@ services: build: - image: klakegg/hugo:ext-alpine + image: hugomods/hugo:latest + command: hugo volumes: - ".:/src" + user: 1000:1000 server: - image: klakegg/hugo:ext-alpine - command: server + image: hugomods/hugo:latest + command: server --buildDrafts --buildFuture volumes: - ".:/src" ports: - - "1313:1313" - + - "127.0.0.1:1313:1313" + user: 1000:1000