2019-07-01 14:26:12 +00:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
caddy:
|
2019-07-06 12:54:05 +00:00
|
|
|
container_name: caddy
|
2020-07-13 06:12:32 +00:00
|
|
|
image: caddy:2-alpine
|
2021-03-29 09:54:10 +00:00
|
|
|
restart: on-failure
|
2019-07-06 12:54:05 +00:00
|
|
|
network_mode: host
|
2019-07-01 14:26:12 +00:00
|
|
|
volumes:
|
2020-07-13 06:12:32 +00:00
|
|
|
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
|
|
|
- caddy-data:/data:rw
|
|
|
|
- caddy-config:/config:rw
|
2019-07-02 16:24:26 +00:00
|
|
|
environment:
|
2020-07-13 06:12:32 +00:00
|
|
|
- SEARX_HOSTNAME=${SEARX_HOSTNAME:-localhost}
|
|
|
|
- SEARX_TLS=${LETSENCRYPT_EMAIL:-internal}
|
2019-07-06 12:54:05 +00:00
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
cap_add:
|
|
|
|
- NET_BIND_SERVICE
|
2019-07-06 14:37:18 +00:00
|
|
|
- DAC_OVERRIDE
|
2019-07-01 14:26:12 +00:00
|
|
|
|
2019-07-06 12:54:05 +00:00
|
|
|
filtron:
|
|
|
|
container_name: filtron
|
2019-07-11 15:17:12 +00:00
|
|
|
image: dalf/filtron
|
2019-07-06 12:54:05 +00:00
|
|
|
restart: always
|
|
|
|
ports:
|
2020-07-13 06:12:32 +00:00
|
|
|
- "127.0.0.1:4040:4040"
|
|
|
|
- "127.0.0.1:4041:4041"
|
2019-07-06 12:54:05 +00:00
|
|
|
networks:
|
2020-04-10 08:45:58 +00:00
|
|
|
- searx
|
|
|
|
command: -listen 0.0.0.0:4040 -api 0.0.0.0:4041 -target searx:8080
|
2019-07-13 08:56:22 +00:00
|
|
|
volumes:
|
|
|
|
- ./rules.json:/etc/filtron/rules.json:rw
|
2019-07-06 12:54:05 +00:00
|
|
|
read_only: true
|
|
|
|
cap_drop:
|
|
|
|
- ALL
|
2019-07-01 14:26:12 +00:00
|
|
|
|
|
|
|
searx:
|
2019-07-06 12:54:05 +00:00
|
|
|
container_name: searx
|
2019-07-13 14:53:11 +00:00
|
|
|
image: searx/searx:latest
|
2019-07-02 16:24:26 +00:00
|
|
|
restart: always
|
2019-07-01 14:26:12 +00:00
|
|
|
networks:
|
2020-04-10 08:45:58 +00:00
|
|
|
- searx
|
2019-07-09 16:05:05 +00:00
|
|
|
command: ${SEARX_COMMAND:-}
|
2019-07-01 14:26:12 +00:00
|
|
|
volumes:
|
2019-07-09 16:05:05 +00:00
|
|
|
- ./searx:/etc/searx:rw
|
2019-07-01 14:26:12 +00:00
|
|
|
environment:
|
2020-04-10 08:45:58 +00:00
|
|
|
- BIND_ADDRESS=0.0.0.0:8080
|
2020-07-13 06:12:32 +00:00
|
|
|
- BASE_URL=https://${SEARX_HOSTNAME:-localhost}/
|
|
|
|
- MORTY_URL=https://${SEARX_HOSTNAME:-localhost}/morty/
|
2019-07-01 14:26:12 +00:00
|
|
|
- MORTY_KEY=${MORTY_KEY}
|
2019-07-06 12:54:05 +00:00
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
cap_add:
|
|
|
|
- CHOWN
|
|
|
|
- SETGID
|
|
|
|
- SETUID
|
2019-07-06 14:37:18 +00:00
|
|
|
- DAC_OVERRIDE
|
2019-07-01 14:26:12 +00:00
|
|
|
|
|
|
|
morty:
|
2019-07-06 12:54:05 +00:00
|
|
|
container_name: morty
|
2019-07-11 15:17:12 +00:00
|
|
|
image: dalf/morty
|
2019-07-02 16:24:26 +00:00
|
|
|
restart: always
|
2019-07-06 12:54:05 +00:00
|
|
|
ports:
|
2020-07-13 06:12:32 +00:00
|
|
|
- "127.0.0.1:3000:3000"
|
2019-07-01 14:26:12 +00:00
|
|
|
networks:
|
2020-04-10 08:45:58 +00:00
|
|
|
- searx
|
2020-07-30 18:42:47 +00:00
|
|
|
command: -timeout 6 -ipv6
|
2019-07-01 14:26:12 +00:00
|
|
|
environment:
|
|
|
|
- MORTY_KEY=${MORTY_KEY}
|
2020-07-30 18:42:47 +00:00
|
|
|
- MORTY_ADDRESS=0.0.0.0:3000
|
2019-07-06 12:54:05 +00:00
|
|
|
logging:
|
|
|
|
driver: none
|
|
|
|
read_only: true
|
|
|
|
cap_drop:
|
|
|
|
- ALL
|
2019-07-01 14:26:12 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
searx:
|
|
|
|
ipam:
|
|
|
|
driver: default
|
2019-07-09 16:05:05 +00:00
|
|
|
|
|
|
|
volumes:
|
2020-07-13 06:12:32 +00:00
|
|
|
caddy-data:
|
|
|
|
caddy-config:
|