mirror of
https://github.com/searxng/searxng-docker.git
synced 2025-12-30 23:50:01 +00:00
[mod] upgrade to Caddy v2 (#44)
* Use docker image caddy:2-alpine * Caddyfile: remove "limits 10KB" * Caddyfile: URL /filtron/rules removes (filtron API still availabled on http://localhost:4041/rules ) * caddy storage are docker volumes (caddy-data and caddy-config). start.sh and stop.sh have been modified to keep these volumes. * .env: Remove SEARX_PROTOCOL, SEARX_TLS, FILTRON_USER and FILTRON_PASSWORD variables. * docker-compose.yml: filtron and morty listen on 127.0.0.1 (related to #38) * Fix #37: settings ```SEARX_HOSTNAME=localhost:8888``` works as expected (https connection)
This commit is contained in:
committed by
GitHub
parent
9947a18e4e
commit
bdf5619765
21
.env
21
.env
@@ -1,23 +1,14 @@
|
||||
# hostname
|
||||
SEARX_HOSTNAME=localhost
|
||||
# By default listen on https://localhost
|
||||
# To change this:
|
||||
# * uncomment SEARX_HOSTNAME, and replace <host> by the searx hostname
|
||||
# * uncomment LETSENCRYPT_EMAIL, and replace <email> by your email (require to create a Let's Encrypt certificate)
|
||||
|
||||
# comment both if SEARX_HOSTNAME is NOT localhost
|
||||
SEARX_PROTOCOL=https://
|
||||
SEARX_TLS=self_signed
|
||||
# SEARX_HOSTNAME=<host>
|
||||
# LETSENCRYPT_EMAIL=<email>
|
||||
|
||||
# automatically update settings to the new version
|
||||
# comment this line if you made / will make some modifications to the settings
|
||||
SEARX_COMMAND=-f
|
||||
|
||||
# Let's encrypt contact information
|
||||
LETSENCRYPT_EMAIL=email@example.com
|
||||
|
||||
# Do you agree Let's Encrypt TOS https://letsencrypt.org/repository/
|
||||
LETSENCRYPT_AGREE=false
|
||||
|
||||
# use openssl rand -base64 33
|
||||
MORTY_KEY=ReplaceWithARealKey!
|
||||
|
||||
# filtron ( /filtron/rules ), use for example "tr -cd '[:alnum:]' < /dev/urandom | fold -w12 | head -n1"
|
||||
FILTRON_USER=filtron
|
||||
FILTRON_PASSWORD=SetARealPassword
|
||||
|
||||
Reference in New Issue
Block a user