This commit is contained in:
parent
dce7b7d0cc
commit
b741814056
@ -14,5 +14,4 @@ services:
|
||||
environment:
|
||||
- SEARXNG_SECRET=secret # $(openssl rand -hex 32)
|
||||
volumes:
|
||||
- ./limiter.toml:/etc/searxng/limiter.toml:ro
|
||||
- ./settings.yml:/etc/searxng/settings.yml:ro
|
||||
- ./config/:/etc/searxng/
|
||||
|
@ -31,8 +31,8 @@ function kgcmkey() {
|
||||
}
|
||||
|
||||
|
||||
kcreatesec searxng-secrets \
|
||||
--from-literal=SEARXNG_SECRET="$(kgseckey searxng-secrets SEARXNG_SECRET || openssl rand -hex 32)"
|
||||
kcreatesec searxng \
|
||||
--from-literal=SEARXNG_SECRET="$(kgseckey searxng SEARXNG_SECRET || openssl rand -hex 32)"
|
||||
|
||||
kcreatecm searxng \
|
||||
--from-file=config/settings.yml \
|
||||
|
@ -68,7 +68,7 @@ spec:
|
||||
containerPort: 8080
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: searxng-secrets
|
||||
name: searxng
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /etc/searxng/limiter.toml
|
||||
|
Loading…
Reference in New Issue
Block a user