.config.sh 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # -*- coding: utf-8; mode: sh -*-
  2. # SPDX-License-Identifier: AGPL-3.0-or-later
  3. # shellcheck shell=bash disable=SC2034
  4. #
  5. # This environment is used by ./utils scripts like filtron.sh or searx.sh. The
  6. # default values are *most flexible* and *best maintained*, you normally not
  7. # need to change the defaults (except PUBLIC_URL).
  8. #
  9. # Before you change any value here you have to uninstall any previous
  10. # installation. Further is it recommended to backup your changes simply by
  11. # adding them to you local brand (git branch)::
  12. #
  13. # git add .config
  14. # The public URL of the searx instance: PUBLIC_URL="https://mydomain.xy/searx"
  15. # The default is taken from ./utils/brand.env.
  16. PUBLIC_URL="${SEARX_URL}"
  17. if [[ ${PUBLIC_URL} == "https://searx.me" ]]; then
  18. PUBLIC_URL=
  19. fi
  20. # searx.sh
  21. # ---------
  22. # SEARX_INTERNAL_URL="127.0.0.1:8888"
  23. # Only change, if you maintain a searx brand in your searx fork.
  24. # GIT_BRANCH="${GIT_BRANCH:-master}"
  25. # filtron.sh
  26. # ----------
  27. # FILTRON_API="127.0.0.1:4005"
  28. # FILTRON_LISTEN="127.0.0.1:4004"
  29. # FILTRON_TARGET="127.0.0.1:8888"
  30. # morty.sh
  31. # --------
  32. # morty listen address
  33. # MORTY_LISTEN="127.0.0.1:3000"
  34. # PUBLIC_URL_PATH_MORTY="/morty/"
  35. # system services
  36. # ---------------
  37. # Common $HOME folder of the service accounts
  38. # SERVICE_HOME_BASE="/usr/local"
  39. # **experimental**: Set SERVICE_USER to run all services by one account, but be
  40. # aware that removing discrete components might conflict!
  41. # SERVICE_USER=searx