From 51bde45ecfa497b2113915e64bdbedbbbd5f0b58 Mon Sep 17 00:00:00 2001 From: red Date: Fri, 4 Jul 2025 14:12:05 -0400 Subject: [PATCH] update static file nonsense --- manifests/pleroma/configmap.yaml | 4 +++- pleroma/init-pleroma.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/manifests/pleroma/configmap.yaml b/manifests/pleroma/configmap.yaml index 7bd77ad..77f30fa 100644 --- a/manifests/pleroma/configmap.yaml +++ b/manifests/pleroma/configmap.yaml @@ -27,7 +27,9 @@ data: upload_limit: 67_108_864, registrations_open: false, invites_enabled: true, - healthcheck: true + healthcheck: true, + static_dir: "/static-files" + # config :pleroma, :http, proxy_url: {:socks5h, System.get_env("SOCKS_ADDRESS"), System.get_env("SOCKS_PORT")} config :pleroma, :http, diff --git a/pleroma/init-pleroma.sh b/pleroma/init-pleroma.sh index 151f513..6f7cf8b 100644 --- a/pleroma/init-pleroma.sh +++ b/pleroma/init-pleroma.sh @@ -5,6 +5,6 @@ set -e 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} +mkdir -p ${DATA}/uploads && mkdir -p ${DATA}/static ${HOME}/bin/pleroma_ctl migrate \ No newline at end of file