From b6a0d4053b34b4a4cb195696cad2b762a0b5503c Mon Sep 17 00:00:00 2001 From: red Date: Wed, 30 Apr 2025 14:27:25 -0400 Subject: [PATCH] env debug line in init-pleroma --- pleroma/init-pleroma.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pleroma/init-pleroma.sh b/pleroma/init-pleroma.sh index 2790bba..b4208ea 100644 --- a/pleroma/init-pleroma.sh +++ b/pleroma/init-pleroma.sh @@ -1,6 +1,9 @@ #!/bin/sh set -e +# uncomment to debug +# env + while ! pg_isready -U ${DB_USER} -d postgres://${DB_HOST}:${DB_PORT}/${DB_NAME} -t 1; do sleep 1s; done; mkdir -p ${DATA}/uploads && mkdir -p ${DATA}/static && cp -rf /static-files/* ${DATA}/static && chown -R 1000:1000 ${DATA}