Add files

This commit is contained in:
BBaoVanC 2021-11-09 09:46:05 -06:00
parent dd5958c5b8
commit d49cf5fbee
2 changed files with 50 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.env
data/

48
docker-compose.yml Normal file
View File

@ -0,0 +1,48 @@
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