chore: add build workflow
Some checks failed
Publish image / create-docker-images (push) Failing after 17s
Publish image / deploy (push) Has been skipped
Publish image / rebase (push) Failing after 8s

This commit is contained in:
Alexander Navarro 2025-02-07 19:46:16 -03:00
parent 6288969c4d
commit fb05ff2e15
4 changed files with 141 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 "$@"