From 04622787edf3ab663925bd44776220cc2d8cf2d8 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Mon, 19 Oct 2026 22:03:38 +0200 Subject: container support for OVERPASS_ config --- container/entrypoint | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'container/entrypoint') diff --git a/container/entrypoint b/container/entrypoint index dcfe1fa..514252c 100644 --- a/container/entrypoint +++ b/container/entrypoint @@ -48,6 +48,16 @@ if [[ ! -f "$CONFIG" ]] ; then sed -i '/^email\.password =/c email.password = '"$EMAIL_PASSWORD" "$CONFIG" fi + if [[ -v OVERPASS_URL ]] ; then + sed -i '/^\[app:main\]/a overpass.url = '"$OVERPASS_URL" "$CONFIG" + fi + if [[ -v OVERPASS_BASIC_AUTH_USERNAME ]] ; then + sed -i '/^\[app:main\]/a overpass.basic_auth.username = '"$OVERPASS_BASIC_AUTH_USERNAME" "$CONFIG" + fi + if [[ -v OVERPASS_BASIC_AUTH_PASSWORD ]] ; then + sed -i '/^\[app:main\]/a overpass.basic_auth.password = '"$OVERPASS_BASIC_AUTH_PASSWORD" "$CONFIG" + fi + if [[ -v LOGLEVEL ]] ; then # We are only changing the fietsboek log level here, as SQLAlchemy # produces a lot of noise. -- cgit v1.2.3