I hostes searxng on portainer but I still can’t seem to access mydomainname/20054/
Also portainer doesn’t show any Published Ports (it shows 20054:8080 for a very short period when I start the stack and then disappeared)
version: "3.7" services: # caddy: # container_name: caddy # image: docker.io/library/caddy:2-alpine # network_mode: host # restart: unless-stopped # volumes: # - /volume1/SN/Docker/searxng-stack/Caddyfile:/etc/caddy/Caddyfile:ro # - caddy-data:/data:rw # - caddy-config:/config:rw # environment: # # - SEARXNG_HOSTNAME=${SEARXNG_HOSTNAME:-http://localhost/} # - SEARXNG_TLS=${LETSENCRYPT_EMAIL:-internal} # cap_drop: # - ALL # cap_add: # - NET_BIND_SERVICE # logging: # driver: "json-file" # options: # max-size: "1m" # max-file: "1" redis: container_name: redis image: docker.io/valkey/valkey:8-alpine command: valkey-server --save 30 1 --loglevel warning restart: unless-stopped networks: - searxng 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 ports: # - "127.0.0.1:8080:8080" - "20054:8080" volumes: - /volume1/SN/Docker/searxng-stack/searxng:/etc/searxng:rw environment: # - SEARXNG_BASE_URL=https://${SEARXNG_HOSTNAME:-localhost}/ - SEARXNG_BASE_URL=http://mydomainname/20054/ - UWSGI_WORKERS=${SEARXNG_UWSGI_WORKERS:-4} - UWSGI_THREADS=${SEARXNG_UWSGI_THREADS:-4} cap_drop: - ALL cap_add: - CHOWN - SETGID - SETUID logging: driver: "json-file" options: max-size: "1m" max-file: "1" networks: searxng: volumes: # caddy-data: # caddy-config: valkey-data2:
thx a lot!
irmadlad@lemmy.world 10 months ago
Question: What is redis and valkey giving you in this instance? I took a look at my notes and I’ve never invoked redis. Just curious. School me. This is what I spin up:
spoiler
services: searxng: image: searxng/searxng:latest container_name: searxng ports: - “8989:8080” volumes: - /path/to/searxng/data:/etc/searxng environment: - SEARXNG_BASE_URL= - SEARXNG_INSTANCE_NAME= - SEARXNG_CONTACT_INFO= - SEARXNG_LANGUAGE=en-US - SEARXNG_AUTOCOMPLETE=duckduckgo - SEARXNG_THEME=simple - SEARXNG_OUTGOING_METHOD=default - SEARXNG_ENABLE_METRICS=true - SEARXNG_ENABLE_CAPTCHA=false - SEARXNG_ENABLE_INFINITE_SCROLL=true - SEARXNG_ENABLE_PIWIK_ANALYTICS=false - SEARXNG_ENABLE_ADVANCED_SEARCH=true - SEARXNG_ENABLE_PRIVATE_RESULTS=true - SEARXNG_ENABLE_TORIFICATION=false - SEARXNG_ENABLE_HTTPS_EVERYWHERE=true - SEARXNG_ENABLE_PROXY=true - SEARXNG_ENABLE_PLUGINS=true restart: unless-stoppedOverride4414@lemmy.world 10 months ago
Thank you so much, sorry it’s taken so long to reply. I still haven’t had the time, but I will take a closer look when I get the chance.
irmadlad@lemmy.world 10 months ago
No worries mate. I was just curious. I have never incorporated both those in a searxng stack and was wondering what they brought to the stack.