-
Notifications
You must be signed in to change notification settings - Fork 6
/
find.yml
33 lines (32 loc) · 945 Bytes
/
find.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: "3.7"
services:
# Private search engine
searx:
container_name: searx
image: hoellen/searx:latest
restart: always
networks:
home_net:
ipv4_address: 192.168.0.73
ports:
- "8888:8888"
environment:
- BASE_URL=find.$DOMAINNAME
- UID=$PUID
- GID=$PGID
volumes:
- $USERDIR/searx/themes:/usr/local/searx/searx/static/themes
labels:
- "traefik.enable=true"
## HTTP Routers
- "traefik.http.routers.searx-rtr.entrypoints=https"
- "traefik.http.routers.searx-rtr.rule=HostHeader(`find.$DOMAINNAME`)"
- "traefik.http.routers.searx-rtr.tls=true"
## Middlewares
- "traefik.http.routers.searx-rtr.middlewares=chain-authelia@file"
## HTTP Services
- "traefik.http.routers.searx-rtr.service=searx-svc"
- "traefik.http.services.searx-svc.loadbalancer.server.port=8888"
networks:
home_net:
external: true