mirror of
https://github.com/searxng/searxng-docker.git
synced 2025-12-23 04:00:02 +00:00
revert setting env on Caddyfile (#341)
This commit is contained in:
@@ -20,9 +20,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
{$SEARXNG_HOSTNAME:http://localhost}
|
||||
{$SEARXNG_HOSTNAME}
|
||||
|
||||
tls {$SEARXNG_TLS:internal}
|
||||
tls {$SEARXNG_TLS}
|
||||
|
||||
encode zstd gzip
|
||||
|
||||
|
||||
@@ -11,7 +11,8 @@ services:
|
||||
- caddy-data:/data:rw
|
||||
- caddy-config:/config:rw
|
||||
environment:
|
||||
- SEARXNG_TLS=${LETSENCRYPT_EMAIL}
|
||||
- SEARXNG_HOSTNAME=${SEARXNG_HOSTNAME:-http://localhost}
|
||||
- SEARXNG_TLS=${LETSENCRYPT_EMAIL:-internal}
|
||||
cap_drop:
|
||||
- ALL
|
||||
cap_add:
|
||||
|
||||
Reference in New Issue
Block a user