mirror of
https://git.myvelabs.com/docker/docker-compose.yaml.git
synced 2025-12-17 21:26:17 +00:00
Reboot
This commit is contained in:
parent
b7336a277f
commit
e650d80b1e
58 changed files with 1747 additions and 0 deletions
10
searxng/.env
Normal file
10
searxng/.env
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# Environment file for docker-compose.yaml
|
||||
# Generate new passwords with:
|
||||
# openssl rand -hex 32
|
||||
|
||||
# Fill in registry
|
||||
REGISTRY=
|
||||
|
||||
# Searx
|
||||
SEARX_PORT=
|
||||
SEARX_URL=
|
||||
46
searxng/docker-compose.yaml
Normal file
46
searxng/docker-compose.yaml
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
services:
|
||||
|
||||
# searx
|
||||
searxng:
|
||||
image: ${REGISTRY}/searxng
|
||||
container_name: searxng
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- ${SEARX_PORT:-8080}:8080
|
||||
environment:
|
||||
SEARXNG_BASE_URL: ${SEARX_URL:-http://localhost:}
|
||||
volumes:
|
||||
- ./settings:/etc/searxng:rw
|
||||
- ./searxng.png:/usr/local/searxng/searx/static/themes/simple/img/searxng.png
|
||||
cap_drop:
|
||||
- ALL
|
||||
cap_add:
|
||||
- CHOWN
|
||||
- SETGID
|
||||
- SETUID
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: 1m
|
||||
max-file: 1
|
||||
networks:
|
||||
- searxng
|
||||
searxng-redis:
|
||||
image: ${REGISTRY}/valkey
|
||||
container_name: searxng-redis
|
||||
restart: unless-stopped
|
||||
command: redis-server --save 30 1 --loglevel warning
|
||||
tmpfs:
|
||||
- /var/lib/redis
|
||||
cap_drop:
|
||||
- ALL
|
||||
cap_add:
|
||||
- SETGID
|
||||
- SETUID
|
||||
- DAC_OVERRIDE
|
||||
networks:
|
||||
- searxng
|
||||
|
||||
networks:
|
||||
searxng:
|
||||
external: false
|
||||
Loading…
Add table
Add a link
Reference in a new issue