add searxng
This commit is contained in:
parent
8ecf33f31d
commit
4be92cad70
3
.env
3
.env
|
@ -1,4 +1,5 @@
|
|||
REGISTRY_URL=registry.kucharczyk.xyz
|
||||
DOMAIN=kucharczyk.xyz
|
||||
TZ=Europe/Prague
|
||||
STORAGE_PATH=/srv/mergerfs/storage
|
||||
DOCKER_STORAGE_PATH=/docker
|
||||
|
@ -70,3 +71,5 @@ SYNCTHING_EXTERNAL_PORT3=22000
|
|||
SYNCTHING_INTERNAL_PORT3=22000/udp
|
||||
SYNCTHING_EXTERNAL_PORT4=21027
|
||||
SYNCTHING_INTERNAL_PORT4=21027/udp
|
||||
SEARXNG_EXTERNAL_PORT=8082
|
||||
SEARXNG_INTERNAL_PORT=8080
|
|
@ -37,14 +37,13 @@ services:
|
|||
- "${SNIBOX_EXTERNAL_PORT}:${SNIBOX_CADDY_INTERNAL_PORT}"
|
||||
user: ${PUID}
|
||||
volumes:
|
||||
# - "${DOCKER_STORAGE_PATH}/caddy/data:/data"
|
||||
# - "${DOCKER_STORAGE_PATH}/caddy/config:/config"
|
||||
# - "${DOCKER_STORAGE_PATH}/caddy/Caddyfile:/etc/caddy/Caddyfile"
|
||||
- "${DOCKER_STORAGE_PATH}/caddy/config:/etc/caddy/"
|
||||
# - "${DOCKER_STORAGE_PATH}/caddy/srv:/srv"
|
||||
- "/www/notes:/srv/notes"
|
||||
- "timetracker-static:/srv/timetracker"
|
||||
- "snibox-static:/srv/snibox"
|
||||
environment:
|
||||
- SEARXNG_HOSTNAME=${SEARXNG_HOSTNAME:-http://localhost:80}
|
||||
- SEARXNG_TLS=${LETSENCRYPT_EMAIL:-internal}
|
||||
networks:
|
||||
- public
|
||||
- caddy
|
||||
|
@ -52,6 +51,10 @@ services:
|
|||
- infra
|
||||
- base
|
||||
restart: unless-stopped
|
||||
# cap_drop:
|
||||
# - ALL
|
||||
# cap_add:
|
||||
# - NET_BIND_SERVICE
|
||||
|
||||
timetracker:
|
||||
image: ${REGISTRY_URL}/timetracker
|
||||
|
@ -616,6 +619,30 @@ services:
|
|||
networks:
|
||||
- public
|
||||
|
||||
searxng:
|
||||
container_name: searxng
|
||||
image: searxng/searxng:latest
|
||||
networks:
|
||||
- caddy
|
||||
- redis
|
||||
ports:
|
||||
- "${SEARXNG_EXTERNAL_PORT}:${SEARXNG_INTERNAL_PORT}"
|
||||
volumes:
|
||||
- "${DOCKER_STORAGE_PATH}/searxng:/etc/searxng:rw"
|
||||
environment:
|
||||
- SEARXNG_BASE_URL=https://${SEARXNG_HOSTNAME:-localhost}/
|
||||
cap_drop:
|
||||
- ALL
|
||||
cap_add:
|
||||
- CHOWN
|
||||
- SETGID
|
||||
- SETUID
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "1m"
|
||||
max-file: "1"
|
||||
|
||||
networks:
|
||||
loki:
|
||||
caddy:
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
SEARXNG_HOSTNAME=search.$DOMAIN
|
Loading…
Reference in New Issue