Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no config file in redis #412

Open
bgeneto opened this issue Feb 10, 2024 · 0 comments
Open

no config file in redis #412

bgeneto opened this issue Feb 10, 2024 · 0 comments

Comments

@bgeneto
Copy link

bgeneto commented Feb 10, 2024

The redis docker container is supposed to read (and overwrite) settings available in /etc/redis.conf
Problem is that, even if one make this file available - by mounting this file with docker-compose.yml, for example - this file is never read by the server as per cli command: redis-cli -p 6379 info server:

root@37eb2bafea95/data # redis-cli -p 6379 info server
# Server
redis_version:7.0.12
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:233784bdd5633a9a
redis_mode:standalone
os:Linux 6.1.0-17-amd64 x86_64
arch_bits:64
monotonic_clock:POSIX clock_gettime
multiplexing_api:epoll
atomicvar_api:c11-builtin
gcc_version:13.1.1
process_id:1
process_supervised:no
run_id:672036a237da8a046d954d96d3266efb89b0a98a
tcp_port:6379
server_time_usec:1707600442740818
uptime_in_seconds:233
uptime_in_days:0
hz:10
configured_hz:10
lru_clock:13101626
executable:/data/redis-server
config_file:
io_threads_active:0

Note the empty config_file.
Even if we replace the default file at /usr/share/defaults/etc/redis.conf with new options, the server does NOT honor the settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant