vps/projects/searxng/compose.yaml.mako

31 lines
819 B
Text
Raw Normal View History

2024-10-07 13:27:16 +02:00
services:
searxng:
container_name: searxng
image: docker.io/searxng/searxng:latest
restart: always
user: ${env['users']['searxng']}:${env['users']['searxng']}
environment:
- SEARXNG_BASE_URL=https://searx.${env['domain']}
- SEARXNG_SECRET="${secrets['searxng']}"
ports:
- 127.0.0.1:${env['ports']['searxng']}:8080
volumes:
- ./settings.yml:/etc/searxng/settings.yml:ro
- ./limiter.toml:/etc/searxng/limiter.toml:ro
valkey:
container_name: searxng-valkey
image: docker.io/valkey/valkey:7-alpine
restart: always
user: ${env['users']['searxng_valkey']}:${env['users']['searxng_valkey']}
command: valkey-server --save 30 1 --loglevel warning
volumes:
- valkey:/data
2024-10-07 14:42:58 +02:00
networks:
default:
enable_ipv6: true
2024-10-07 13:27:16 +02:00
volumes:
valkey: