service-drone-runner/entrypoint-wrapper.sh
2022-08-18 20:29:48 +02:00

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 "$@"