2019-07-01 14:26:12 +00:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
caddy:
|
2019-07-06 12:54:05 +00:00
|
|
|
container_name: caddy
|
2019-10-19 16:53:06 +00:00
|
|
|
image: abiosoft/caddy:1.0.3-no-stats
|
2019-07-01 14:26:12 +00:00
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
- 443:443
|
2019-07-06 12:54:05 +00:00
|
|
|
network_mode: host
|
|
|
|
command: -email ${LETSENCRYPT_EMAIL} -agree=${LETSENCRYPT_AGREE} -log stdout -host ${SEARX_HOSTNAME} -conf /etc/Caddyfile
|
2019-07-01 14:26:12 +00:00
|
|
|
volumes:
|
2019-07-09 16:05:05 +00:00
|
|
|
- ./Caddyfile:/etc/Caddyfile:rw
|
|
|
|
- ./caddy:/root/.caddy:rw
|
|
|
|
- ./srv:/srv:rw
|
|
|
|
- searx-checker:/srv/searx-checker:rw
|
2019-07-02 16:24:26 +00:00
|
|
|
environment:
|
|
|
|
- SEARX_HOSTNAME=${SEARX_HOSTNAME}
|
2019-07-09 16:05:05 +00:00
|
|
|
- SEARX_PROTOCOL=${SEARX_PROTOCOL:-}
|
|
|
|
- SEARX_TLS=${SEARX_TLS:-}
|
2019-07-06 12:54:05 +00:00
|
|
|
- FILTRON_USER=${FILTRON_USER}
|
|
|
|
- FILTRON_PASSWORD=${FILTRON_PASSWORD}
|
|
|
|
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
|
|
|
hostname: filtron
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 127.0.0.1:4040:4040
|
|
|
|
- 127.0.0.1:4041:4041
|
|
|
|
networks:
|
|
|
|
searx:
|
|
|
|
ipv4_address: 10.10.10.3
|
|
|
|
command: -listen 10.10.10.3:4040 -api 10.10.10.3:4041 -target 10.10.10.4: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-01 14:26:12 +00:00
|
|
|
hostname: searx
|
2019-07-02 16:24:26 +00:00
|
|
|
restart: always
|
2019-07-01 14:26:12 +00:00
|
|
|
networks:
|
|
|
|
searx:
|
|
|
|
ipv4_address: 10.10.10.4
|
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:
|
2019-07-06 12:54:05 +00:00
|
|
|
- BIND_ADDRESS=10.10.10.4:8080
|
2019-07-02 16:24:26 +00:00
|
|
|
- BASE_URL=https://${SEARX_HOSTNAME}/
|
|
|
|
- MORTY_URL=https://${SEARX_HOSTNAME}/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-01 14:26:12 +00:00
|
|
|
hostname: morty
|
2019-07-02 16:24:26 +00:00
|
|
|
restart: always
|
2019-07-06 12:54:05 +00:00
|
|
|
ports:
|
|
|
|
- 127.0.0.1:3000:3000
|
2019-07-01 14:26:12 +00:00
|
|
|
networks:
|
|
|
|
searx:
|
|
|
|
ipv4_address: 10.10.10.5
|
2019-07-09 16:05:05 +00:00
|
|
|
command: -listen 10.10.10.5:3000 -timeout 6 -ipv6
|
2019-07-01 14:26:12 +00:00
|
|
|
environment:
|
|
|
|
- MORTY_KEY=${MORTY_KEY}
|
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
|
|
|
|
2019-07-09 16:05:05 +00:00
|
|
|
searx-checker:
|
|
|
|
container_name: searx-checker
|
|
|
|
image: searx/searx-checker
|
|
|
|
hostname: searx-checker
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
searx:
|
|
|
|
ipv4_address: 10.10.10.6
|
|
|
|
command: -cron -o html/data/status.json http://10.10.10.4:8080
|
|
|
|
volumes:
|
|
|
|
- searx-checker:/usr/local/searx-checker/html/data:rw
|
|
|
|
|
2019-07-01 14:26:12 +00:00
|
|
|
networks:
|
|
|
|
searx:
|
|
|
|
ipam:
|
|
|
|
driver: default
|
|
|
|
config:
|
|
|
|
- subnet: 10.10.10.0/24
|
2019-07-09 16:05:05 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
searx-checker:
|