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}"
|
- "${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:
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
SEARXNG_HOSTNAME=search.$DOMAIN
|
|
Loading…
Reference in New Issue