overleaf/services/git-bridge/start.sh
Shane Kilkelly b47f21a44e Configure from env vars at run time
In both local developent, and production.  Also, vendor the `envsubst`
binary from https://github.com/a8m/envsubst, as it supports default
values, which the gnu envsubst (from gettext-base) does not.
2021-05-07 09:47:49 +01:00

3 lines
123 B
Bash
Executable file

#!/bin/bash
/opt/envsubst < /envsubst_template.json > /conf/runtime.json
exec java -jar /git-bridge.jar /conf/runtime.json