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

View File

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