add pleroma_source_selfbuilt image for patching pleroma

This commit is contained in:
Luna 2023-01-22 18:49:46 -03:00
parent 66f16288fc
commit 8c9f487412
3 changed files with 63 additions and 1 deletions

View file

@ -0,0 +1,14 @@
#!/bin/ash
set -eux
echo "-- Waiting for database..."
while ! pg_isready -U ${DB_USER:-pleroma} -d postgres://${DB_HOST:-db}:${DB_PORT:-5432}/${DB_NAME:-pleroma} -t 1; do
sleep 1s
done
echo "-- Running migrations..."
mix ecto.migrate
echo "-- Starting!"
mix phx.server