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