forked from DevOps/deploy.stack
chore: add env.cfg.example templates and clean up config files
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# ============================================================
|
||||
# searxng 部署 — 公共环境变量模板(不含敏感信息)
|
||||
# 复制为 env.cfg 后填入真实值,env.cfg 已被 .gitignore 忽略
|
||||
# ============================================================
|
||||
#
|
||||
# 使用方式:
|
||||
# cp env.cfg.example env.cfg
|
||||
# $EDITOR env.cfg # 填入真实密码/密钥后保存
|
||||
# docker compose -p searxng --env-file ./env.cfg -f ./stack.yml up -d
|
||||
#
|
||||
SearXNG_TAG=searxng/searxng:latest
|
||||
|
||||
Redis_TAG=valkey/valkey:9.0.0-alpine
|
||||
|
||||
Valkey_TAG=valkey/valkey:9.0.0
|
||||
|
||||
Volumes_Path=/data/volumes/searxng
|
||||
+2
-3
@@ -3,7 +3,6 @@
|
||||
# Run:: docker compose --env-file ./searxng/env.cfg -f ./searxng/stack.yml up -d
|
||||
|
||||
services:
|
||||
|
||||
valkey:
|
||||
image: ${Valkey_TAG}
|
||||
container_name: redis
|
||||
@@ -12,7 +11,7 @@ services:
|
||||
networks:
|
||||
- searxng
|
||||
volumes:
|
||||
- ${Volumes_Path}/redis-data:/data
|
||||
- ${Volumes_Path}/redis-data:/data
|
||||
|
||||
searxng:
|
||||
image: ${SearXNG_TAG}
|
||||
@@ -32,4 +31,4 @@ services:
|
||||
- ${Volumes_Path}/searxng-data:/var/cache/searxng:rw
|
||||
|
||||
networks:
|
||||
searxng:
|
||||
searxng:
|
||||
|
||||
Reference in New Issue
Block a user