2019-07-01 14:26:12 +00:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
|
|
|
|
|
|
|
caddy:
|
|
|
|
image: abiosoft/caddy:no-stats
|
|
|
|
ports:
|
|
|
|
- 80:80
|
|
|
|
- 443:443
|
|
|
|
networks:
|
|
|
|
searx:
|
|
|
|
ipv4_address: 10.10.10.2
|
|
|
|
command: -email ${LETSENCRYPT_EMAIL} -agree=true -log stdout -host ${SEARX_HOSTNAME} -conf /etc/Caddyfile
|
|
|
|
volumes:
|
|
|
|
- ./Caddyfile:/etc/Caddyfile
|
|
|
|
- ./caddy:/root/.caddy
|
2019-07-02 16:24:26 +00:00
|
|
|
environment:
|
|
|
|
- SEARX_HOSTNAME=${SEARX_HOSTNAME}
|
2019-07-01 14:26:12 +00:00
|
|
|
|
|
|
|
# filtron:
|
|
|
|
# image: filtron
|
|
|
|
# hostname: filtron
|
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.3
|
|
|
|
|
|
|
|
searx:
|
|
|
|
image: searx
|
|
|
|
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
|
|
|
|
volumes:
|
|
|
|
- ./searx:/etc/searx
|
|
|
|
environment:
|
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}
|
|
|
|
|
|
|
|
morty:
|
|
|
|
image: morty
|
|
|
|
hostname: morty
|
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.5
|
2019-07-02 16:24:26 +00:00
|
|
|
command: -listen 10.10.10.5:3000
|
2019-07-01 14:26:12 +00:00
|
|
|
environment:
|
|
|
|
- MORTY_KEY=${MORTY_KEY}
|
|
|
|
|
|
|
|
networks:
|
|
|
|
searx:
|
|
|
|
ipam:
|
|
|
|
driver: default
|
|
|
|
config:
|
|
|
|
- subnet: 10.10.10.0/24
|