New backup 2024-07-08 13:30:20

This commit is contained in:
Penelope Gwen 2024-07-08 13:30:20 -06:00
parent 8a24554e88
commit 6a9d60e9cc
2 changed files with 82 additions and 0 deletions

View file

@ -14,6 +14,14 @@ LLDAP_SERVER=
DATA_PATH= DATA_PATH=
MEDIA_PATH= MEDIA_PATH=
#GLUETUN
VPN_USER=
VPN_PASS=
WG_COUNTRIES=
#SEARXNG
SEARXNG_HOSTNAME=
#PORTS #PORTS
DDNS_PORT= DDNS_PORT=
KUMA_PORT= KUMA_PORT=
@ -30,3 +38,5 @@ NGINX_HTTPS_PORT=
WYOMING_PIPER_PORT= WYOMING_PIPER_PORT=
WYOMING_WHISPER_PORT= WYOMING_WHISPER_PORT=
SEARXNG_PORT=

72
searxng.yml Normal file
View file

@ -0,0 +1,72 @@
version: "3.7"
#networks:
# searxng:
volumes:
valkey-data2:
services:
gluetun: # pipe container traffic through vpn https://hub.docker.com/r/qmcgaw/gluetun
image: qmcgaw/gluetun:latest
container_name: gluetun-searxng
cap_add:
- NET_ADMIN
environment:
- VPN_SERVICE_PROVIDER=protonvpn
- OPENVPN_USER=${VPN_USER}
- OPENVPN_PASSWORD=${VPN_PASS}
- SERVER_COUNTRIES=${WG_COUNTRIES}
- VPN_PORT_FORWARDING=off
ports:
- ${SEARXNG_PORT}:8080
restart: unless-stopped
redis:
container_name: searxng-redis
image: docker.io/valkey/valkey:7-alpine
command: valkey-server --save 30 1 --loglevel warning
restart: unless-stopped
# networks:
# - searxng
network_mode: "service:gluetun"
volumes:
- valkey-data2:/data
cap_drop:
- ALL
cap_add:
- SETGID
- SETUID
- DAC_OVERRIDE
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
searxng:
container_name: searxng
image: docker.io/searxng/searxng:latest
restart: unless-stopped
# networks:
# - searxng
network_mode: "service:gluetun"
# ports:
# - ${SEARXNG_PORT}:8080
volumes:
- ${DATA_PATH}/searxng/data:/etc/searxng:rw
- ${DATA_PATH}/searxng/theme/pogmom:/usr/local/searxng/searx/static/themes/pogmom:rw
environment:
- SEARXNG_BASE_URL=https://${SEARXNG_HOSTNAME}/
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"