add pleroma_source_selfbuilt image for patching pleroma
This commit is contained in:
parent
66f16288fc
commit
8c9f487412
3 changed files with 63 additions and 1 deletions
14
files/pleroma_source_entrypoint.sh
Executable file
14
files/pleroma_source_entrypoint.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue