1
0
Fork 0

searxng: don't use caddy as reverse proxy

This commit is contained in:
Lukáš Kucharczyk 2023-03-23 11:38:53 +01:00
parent 9c843ed650
commit 47076cf45b
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
2 changed files with 4 additions and 7 deletions

View File

@ -35,16 +35,12 @@ services:
- "${TIMETRACKER_EXTERNAL_PORT}:${TIMETRACKER_INTERNAL_PORT}"
- "${DENDRON_NOTES_EXTERNAL_PORT}:${DENDRON_NOTES_INTERNAL_PORT}"
- "${SNIBOX_EXTERNAL_PORT}:${SNIBOX_CADDY_INTERNAL_PORT}"
- "${SEARXNG_EXTERNAL_PORT}:${SEARXNG_INTERNAL_PORT}"
user: ${PUID}
volumes:
- "${DOCKER_STORAGE_PATH}/caddy/config:/etc/caddy/"
- "/www/notes:/srv/notes"
- "timetracker-static:/srv/timetracker"
- "snibox-static:/srv/snibox"
environment:
- SEARXNG_HOSTNAME=${SEARXNG_HOSTNAME:-http://localhost:80}
- SEARXNG_TLS=${LETSENCRYPT_EMAIL:-internal}
networks:
- public
- caddy
@ -624,12 +620,14 @@ services:
container_name: searxng
image: searxng/searxng:latest
networks:
- caddy
- public
- redis
ports:
- "${SEARXNG_EXTERNAL_PORT}:${SEARXNG_INTERNAL_PORT}"
volumes:
- "${DOCKER_STORAGE_PATH}/searxng:/etc/searxng:rw"
environment:
- SEARXNG_BASE_URL=https://${SEARXNG_HOSTNAME:-localhost}/
- SEARXNG_BASE_URL=https://search.${DOMAIN}/
cap_drop:
- ALL
cap_add:

View File

@ -1 +0,0 @@
SEARXNG_HOSTNAME=search.$DOMAIN