docker-searx/root/etc/s6.d/searx/run
Jan Christian Grünhage 184f24145f
All checks were successful
the build was successful
chore: initial image
copy github.com/wonderfall/dockerfiles/searx,
modify to fit my base image,
add ci and update to newest version
2017-12-13 19:20:01 +01:00

7 lines
291 B
Bash
Executable file

#!/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
su-exec ${UID}:${GID} python /usr/local/searx/searx/webapp.py