update static file nonsense

This commit is contained in:
red 2025-07-04 14:12:05 -04:00
parent c5df6372a7
commit 51bde45ecf
2 changed files with 4 additions and 2 deletions

View file

@ -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,

View file

@ -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