-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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)
- Loading branch information
Showing
6 changed files
with
96 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 protected] | ||
|
||
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters