Add base url to new containers
Some checks failed
Deploy with Docker Compose / deploy (push) Failing after 0s

This commit is contained in:
2026-04-07 12:57:16 +01:00
parent 8a6e34dd69
commit a967a249c2
7 changed files with 30 additions and 7 deletions

7
searxng/Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM searxng/searxng:latest
COPY settings.yml.template /searxng/settings.yml.template
COPY entrypoint.sh /searxng/entrypoint.sh
RUN chmod +x /searxng/entrypoint.sh
ENTRYPOINT ["/searxng/entrypoint.sh"]

6
searxng/entrypoint.sh Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
set -e
envsubst < /searxng/settings.yml.template > /etc/searxng/settings.yml
exec /usr/local/searxng/dockerfiles/docker-entrypoint.sh "$@"

View File

@@ -0,0 +1,5 @@
use_default_settings: true
server:
base_url: https://www.adam-french.co.uk/searxng/
secret_key: "${SEARXNG_SECRET_KEY}"