Compare commits
3 commits
9384644d9d
...
a6efc1539a
Author | SHA1 | Date | |
---|---|---|---|
a6efc1539a | |||
e99aa3290f | |||
80fcdaa113 |
3 changed files with 38 additions and 7 deletions
|
@ -1,8 +1,9 @@
|
||||||
# use alpine as base for searx and set workdir as well as env vars
|
# use alpine as base for searx and set workdir as well as env vars
|
||||||
FROM alpine:3.20 AS base
|
FROM alpine:3.20 AS base
|
||||||
|
|
||||||
ENV GID=991 UID=991 UWSGI_WORKERS=1 UWSGI_THREADS=16
|
ENV GID=991 UID=991 UWSGI_WORKERS=1 UWSGI_THREADS=16 \
|
||||||
ENV UPSTREAM_COMMIT=7e680d8e8ef96a3161608f37e08799a9feae77e7
|
GIT_URL=https://git.astrial.org/Astrial.org/searxng-custom GIT_BRANCH=master
|
||||||
|
ENV UPSTREAM_COMMIT=9424bac031db78ab23d1e5f21ec2906e3d603433
|
||||||
|
|
||||||
COPY ./requirements.txt .
|
COPY ./requirements.txt .
|
||||||
|
|
||||||
|
|
31
compose.yaml
Normal file
31
compose.yaml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# Compose file for testing
|
||||||
|
|
||||||
|
services:
|
||||||
|
searxng:
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
|
||||||
|
container_name: searxng-custom
|
||||||
|
ports:
|
||||||
|
- "8080:8080"
|
||||||
|
environment:
|
||||||
|
- SECRET_KEY=testing
|
||||||
|
- SEARXNG_REDIS_URL=redis://redis:6379/0
|
||||||
|
- AUTHORIZED_API=false
|
||||||
|
depends_on:
|
||||||
|
- redis
|
||||||
|
cap_drop: [ALL]
|
||||||
|
cap_add:
|
||||||
|
- CHOWN
|
||||||
|
- SETGID
|
||||||
|
- SETUID
|
||||||
|
|
||||||
|
redis:
|
||||||
|
image: docker.io/valkey/valkey:8-alpine
|
||||||
|
container_name: searxng-redis
|
||||||
|
cap_drop: [ALL]
|
||||||
|
cap_add:
|
||||||
|
- DAC_OVERRIDE
|
||||||
|
- SETGID
|
||||||
|
- SETUID
|
|
@ -8,11 +8,10 @@ general:
|
||||||
open_metrics: '' # Public metrics
|
open_metrics: '' # Public metrics
|
||||||
|
|
||||||
brand:
|
brand:
|
||||||
new_issue_url: https://github.com/searxng/searxng/issues/new
|
custom:
|
||||||
docs_url: https://docs.searxng.org/
|
maintainer: "Astrial.org"
|
||||||
public_instances: https://searx.space
|
links:
|
||||||
wiki_url: https://github.com/searxng/searxng/wiki
|
Uptime: "https://uptime.astrial.org/"
|
||||||
issue_url: https://github.com/searxng/searxng/issues
|
|
||||||
|
|
||||||
search:
|
search:
|
||||||
# 0: none, 1: moderate, 2: strict
|
# 0: none, 1: moderate, 2: strict
|
||||||
|
|
Loading…
Reference in a new issue