fix: update docker-compose configuration for redis service to use searxng_net (docker-compose.yml)

This commit is contained in:
2025-11-22 15:07:07 -05:00
parent 9f1fd502ea
commit a522ab609e

View File

@@ -6,8 +6,6 @@ services:
image: docker.io/valkey/valkey:8-alpine
command: valkey-server --save 30 1 --loglevel warning
restart: unless-stopped
networks:
- homelab
volumes:
- valkey-data2:/data
logging:
@@ -15,6 +13,8 @@ services:
options:
max-size: "1m"
max-file: "1"
networks:
- searxng_net
searxng:
container_name: searxng
@@ -39,10 +39,15 @@ services:
homelab:
aliases:
- search # adding multiple aliases under certain network
searxng_net:
aliases:
- searxng_internal
networks: # I don't know why but you have to specify the network 2x. In service, and in this tag area..
homelab:
name: homelab # Networks can also be given a custom name
external: true # This option causes compose to join the above network instead of making a _default one
searxng_net:
external: false
volumes:
valkey-data2: