mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-19 20:09:16 +00:00
8 lines
313 B
Bash
8 lines
313 B
Bash
#!/bin/sh
|
|
sed -i -e "s|base_url : False|base_url : ${BASE_URL}|g" \
|
|
-e "s/image_proxy : False/image_proxy : ${IMAGE_PROXY}/g" \
|
|
-e "s/ultrasecretkey/$(openssl rand -hex 16)/g" \
|
|
/usr/local/searx/searx/settings.yml
|
|
|
|
exec su-exec $UID:$GID /sbin/tini -- python /usr/local/searx/searx/webapp.py
|