From 271539e674b8ddf1f7d26426679490ac7fb4a786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Pav=C3=B3n=20Abi=C3=A1n?= Date: Fri, 25 Oct 2024 19:26:39 +0200 Subject: [PATCH] fix: require user to edit docker-compose.yml before configuration --- docker_setup_prod.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker_setup_prod.sh b/docker_setup_prod.sh index 8159de7..384811c 100644 --- a/docker_setup_prod.sh +++ b/docker_setup_prod.sh @@ -36,6 +36,10 @@ else echo "docker-compose.yml already exists. Skipping download." fi +# Prompt the user to edit the docker-compose.yml file +echo "Before continuing, you must edit the docker-compose.yml file to configure the database connection details." +read -p "Press Enter when you have finished editing the file." + # Run the initial command for interactive configuration echo "Starting WriteFreely configuration..." docker compose run -it --rm app writefreely config start