searxng: don't use caddy as reverse proxy
This commit is contained in:
parent
9c843ed650
commit
47076cf45b
|
@ -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:
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
SEARXNG_HOSTNAME=search.$DOMAIN
|
Loading…
Reference in New Issue