From d49cf5fbeeb10a2bba6eb8b8f4ad8576ae5a8320 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Tue, 9 Nov 2021 09:46:05 -0600 Subject: [PATCH] Add files --- .gitignore | 2 ++ docker-compose.yml | 48 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 .gitignore create mode 100644 docker-compose.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..24f9f8d --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.env +data/ diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..960c537 --- /dev/null +++ b/docker-compose.yml @@ -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