Searx
version: '3.3'
services:
filtron:
container_name: filtron
image: dalf/filtron
restart: unless-stopped
ports:
- 4040:4040
- 4041:4041
command: -listen 0.0.0.0:4040 -api 0.0.0.0:4041 -target 0.0.0.0:8082
volumes:
- /srv/path/Searxng/rules.json:/etc/filtron/rules.json:rw
read_only: true
cap_drop:
- ALL
network_mode: host
searx:
container_name: searxng
image: searxng/searxng:latest
restart: unless-stopped
command: -f
volumes:
- /srv/path/Files/Searxng/searx:/etc/searx:rw
environment:
- BIND_ADDRESS=0.0.0.0:8082
- BASE_URL=https://myurl.com/
- MORTY_URL=https://myurl.com/
- MORTY_KEY=xxxxxx
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
- DAC_OVERRIDE
network_mode: host
morty:
container_name: morty
image: dalf/morty
restart: unless-stopped
ports:
- 3000:3000
command: -listen 0.0.0.0:3000 -timeout 6 -ipv6
environment:
- MORTY_KEY=xxxxxx
logging:
driver: none
read_only: true
cap_drop:
- ALL
network_mode: host
searx-checker:
container_name: searx-checker
image: kiunknown/searx-checker # original : searx/searx-checker
restart: unless-stopped
command: -cron -o html/data/status.json http://localhost:8082
volumes:
- /srv/path/Files/Searxng/searx-checker:/usr/local/searx-checker/html/data:rw
network_mode: host
volumes:
searx-checker:
Dowload https://github.com/searxng/searxng-docker/blob/master/rules.json
Create /srv/path/Searxng/
and copy rules.json in it.
Then, deploy the stack.