• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved Redis with docker: How to provide file path for redis.conf as first argument?

Spring

New Pleskian
Server operating system version
Ubuntu 22.04.3 LTS
Plesk version and microupdate number
18.0.57
I installed Redis as docker-container (in Plesk Obsidian).

The Redis-doc says the following, when further configuration is needed:
# Redis configuration file example.
#
# Note that in order to read the configuration file, Redis must be
# started with the file path as first argument:
#
# ./redis-server /path/to/redis.conf

How can I provide the file path for this redis.conf as "first argument while starting Redis"?
 
With Docker Compose it works.

Recommended is then to use the INCLUDE-function
include /path/to/local.conf
of the redis.conf-file (Redis configuration file example) to provide through this way your editable configuration-file (local.conf). (Redis always uses the last processed line as value of a configuration directive.)

After updating the local.conf, restarting the docker-container (via Plesk-interface) is needed, so the new configuration can be loaded.

A big thank you goes to the webhoster [redacted, URL of webhoster; we avoid such links, because they can create an unfair market advantage for some web hosters on this forum] for their perseverance in trying this out!
 
Last edited by a moderator:
Back
Top