You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
searxng-docker/docker-compose.yaml

56 lines
1.1 KiB
YAML

5 years ago
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
restart: always
# -quic=true -http2=true
volumes:
- ./Caddyfile:/etc/Caddyfile
- ./caddy:/root/.caddy
# filtron:
# image: filtron
# hostname: filtron
# networks:
# searx:
# ipv4_address: 10.10.10.3
searx:
image: searx
hostname: searx
networks:
searx:
ipv4_address: 10.10.10.4
volumes:
- ./searx:/etc/searx
environment:
- BASE_URL=http://${SEARX_HOSTNAME}/
- MORTY_URL=http://${SEARX_HOSTNAME}/morty/
- MORTY_KEY=${MORTY_KEY}
morty:
image: morty
hostname: morty
networks:
searx:
ipv4_address: 10.10.10.5
command: -listen 10.10.10.5:3000 -key ${MORTY_KEY}
environment:
- MORTY_KEY=${MORTY_KEY}
networks:
searx:
ipam:
driver: default
config:
- subnet: 10.10.10.0/24