service-drone-server/entrypoint-wrapper.sh

8 lines
206 B
Bash
Executable file

#!/bin/sh
echo "# Entrypoint Wrapper"
echo "- Setting DRONE_DATABASE_DATASOURCE from DATABASE_URL"
DRONE_DATABASE_DATASOURCE="${DATABASE_URL}"
export DRONE_DATABASE_DATASOURCE
exec /bin/drone-server "$@"