2022-06-18 14:12:12 +02:00
|
|
|
---
|
|
|
|
version: '3.9'
|
|
|
|
|
|
|
|
services:
|
|
|
|
searxng:
|
|
|
|
image: searxng/searxng:latest # >.<
|
|
|
|
container_name: searxng
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- default
|
|
|
|
- backend
|
|
|
|
volumes:
|
|
|
|
- ./settings.yml:/etc/searxng/settings.yml:ro,z
|
|
|
|
- ./uwsgi.ini:/etc/searxng/uwsgi.ini:ro,z
|
2023-06-26 16:27:19 +02:00
|
|
|
- ./limiter.toml:/etc/searxng/limiter.toml:ro,z
|
2022-06-18 14:12:12 +02:00
|
|
|
labels:
|
|
|
|
- "traefik.enable=true"
|
2024-01-22 18:56:17 +01:00
|
|
|
- "traefik.docker.network=${COMPOSE_PROJECT_NAME}_default"
|
2022-06-18 14:12:12 +02:00
|
|
|
- "traefik.http.routers.searxng.rule=Host(`search.tobiasmanske.de`)"
|
|
|
|
- "traefik.http.routers.searxng.entryPoints=websecure"
|
|
|
|
- "traefik.http.services.searxng.loadbalancer.server.port=8080"
|
2022-06-19 11:45:50 +02:00
|
|
|
- "traefik.http.middlewares.compression.compress=true"
|
|
|
|
- "traefik.http.routers.searxng.middlewares=compression"
|
2022-06-18 14:12:12 +02:00
|
|
|
|
|
|
|
redis:
|
|
|
|
container_name: redis
|
|
|
|
image: "redis:alpine"
|
2022-11-07 13:19:55 +01:00
|
|
|
restart: always
|
2022-06-18 14:12:12 +02:00
|
|
|
command: redis-server --save "" --appendonly "no"
|
|
|
|
networks:
|
|
|
|
- backend
|
|
|
|
tmpfs:
|
|
|
|
- /var/lib/redis
|
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
cap_add:
|
|
|
|
- SETGID
|
|
|
|
- SETUID
|
|
|
|
- DAC_OVERRIDE
|
2022-06-20 07:23:16 +02:00
|
|
|
|
2022-06-18 14:12:12 +02:00
|
|
|
networks:
|
|
|
|
backend:
|
|
|
|
internal: true
|
2022-08-08 23:55:41 +02:00
|
|
|
...
|