49 lines
993 B
YAML
49 lines
993 B
YAML
version: "3"
|
|
|
|
services:
|
|
filtron:
|
|
image: dalf/filtron
|
|
restart: always
|
|
ports:
|
|
- 127.0.0.1:4040:4040
|
|
- 127.0.0.1:4041:4041
|
|
command: -listen 0.0.0.0:4040 -api 0.0.0.0:4041 -target searx:8080
|
|
volumes:
|
|
- ./data/filtron/rules.json:/etc/filtron/rules.json
|
|
read_only: true
|
|
cap_drop:
|
|
- ALL
|
|
|
|
searx:
|
|
image: searx/searx:latest
|
|
restart: always
|
|
# automatically update config
|
|
#command: -f
|
|
volumes:
|
|
- ./data/searx:/etc/searx
|
|
environment:
|
|
- BIND_ADDRESS=0.0.0.0:8080
|
|
- BASE_URL=https://search.bbaovanc.com/
|
|
- MORTY_URL=https://search.bbaovanc.com/morty/
|
|
- MORTY_KEY
|
|
cap_drop:
|
|
- ALL
|
|
cap_add:
|
|
- CHOWN
|
|
- SETGID
|
|
- SETUID
|
|
- DAC_OVERRIDE
|
|
|
|
morty:
|
|
image: dalf/morty
|
|
restart: always
|
|
ports:
|
|
- 127.0.0.1:3000:3000
|
|
command: -timeout 6
|
|
environment:
|
|
- MORTY_KEY
|
|
- MORTY_ADDRESS=0.0.0.0:3000
|
|
read_only: true
|
|
cap_drop:
|
|
- ALL
|