From cf7d5780057900668d2c0bbbd9ccd08e6fc2fc51 Mon Sep 17 00:00:00 2001 From: Leohearts Date: Fri, 27 Feb 2026 19:06:59 +0800 Subject: [PATCH] use .env for docker compose. fix #142 (#143) --- scripts/install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/install.sh b/scripts/install.sh index df261269..fd9fafe6 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -168,6 +168,10 @@ if [ "$USE_CN_MIRROR" = true ]; then echo "${GREEN}✓ Using China mainland mirror (memoh.cn)${NC}" fi +echo POSTGRES_PASSWORD="${PG_PASS}" >> .env +echo MEMOH_CONFIG=./config.toml >> .env +echo MEMOH_DATA_DIR="{$MEMOH_DATA_DIR}" >> .env + echo "" echo "${GREEN}Pulling latest Docker images...${NC}" $DOCKER compose $COMPOSE_FILES pull