eletrotupi / tcc/ ansible/roles/app/files/valkey.confc901c35af9c84b6a29e5185545ced1129f33b8f4
601 B | 17 lines Raw
1
# Valkey — server config.
2
#
3
# Only the directives that differ from the upstream defaults are kept. The
4
# previous file was the ~125 KB stock example with a handful of edits; that
5
# whole block of comments adds nothing and makes drift hard to spot.
6
#
7
# Valkey is never published outside the Compose network (see the compose file),
8
# so it is reachable only by the api service — which is why protected-mode can
9
# be off and no password is set.
10

11
bind 0.0.0.0
12
protected-mode no
13
port 6379
14
dir ./
15

16
# BullMQ relies on jobs never being evicted, so keep the no-eviction policy.
17
maxmemory-policy noeviction