chore: add build workflow
Some checks failed
Publish image / create-docker-images (push) Successful in 32s
Publish image / deploy (push) Successful in 13s
Publish image / rebase (push) Failing after 4s

This commit is contained in:
Alexander Navarro 2025-02-07 19:46:16 -03:00
parent 6288969c4d
commit aee3af784e
4 changed files with 137 additions and 1 deletions

11
docker/entrypoint.sh Normal file
View file

@ -0,0 +1,11 @@
#!/bin/sh
if [[ -e $DB_PASSWORD_FILE ]]; then
DB_PASSWORD=$(cat $DB_PASSWORD_FILE)
fi
export DATABASE_URL="postgres://${DB_USER}:${DB_PASSWORD}@db:5432/${DB_DB}?sslmode=disable"
echo $DATABASE_URL
exec "$@"