searxng-docker/docker-compose.yaml

59 lines
1.2 KiB
YAML
Raw Normal View History

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
environment:
- SEARX_HOSTNAME=${SEARX_HOSTNAME}
2019-07-01 14:26:12 +00:00
# filtron:
# image: filtron
# hostname: filtron
# restart: always
2019-07-01 14:26:12 +00:00
# networks:
# searx:
# ipv4_address: 10.10.10.3
searx:
image: searx
hostname: searx
restart: always
2019-07-01 14:26:12 +00:00
networks:
searx:
ipv4_address: 10.10.10.4
volumes:
- ./searx:/etc/searx
environment:
- 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
restart: always
2019-07-01 14:26:12 +00:00
networks:
searx:
ipv4_address: 10.10.10.5
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