[GH-ISSUE #385] REDIS_SERVER_PWD is it avalible variable like this to add password of external redis ? #193

Closed
opened 2026-02-26 10:30:50 +03:00 by kerem · 14 comments
Owner

Originally created by @masterwishx on GitHub (Oct 1, 2021).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/385

Help
Added External postgres database also redis container by:

REDIS_SERVER_HOST: The IP address or the name of the host where the Redis server is running.
REDIS_SERVER_PORT: The Redis server port number.

if i have password on redis how to add it ?
Thanks

Originally created by @masterwishx on GitHub (Oct 1, 2021). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/385 Help Added External postgres database also redis container by: REDIS_SERVER_HOST: The IP address or the name of the host where the Redis server is running. REDIS_SERVER_PORT: The Redis server port number. if i have password on redis how to add it ? Thanks
kerem 2026-02-26 10:30:50 +03:00
Author
Owner

@ShockwaveNN commented on GitHub (Oct 4, 2021):

@igwyd Please take a look as soon as you got free time

<!-- gh-comment-id:933231043 --> @ShockwaveNN commented on GitHub (Oct 4, 2021): @igwyd Please take a look as soon as you got free time
Author
Owner

@igwyd commented on GitHub (May 20, 2022):

Hello @masterwishx, sorry for the late reply. We have addition param for redis, you can add your password in /etc/onlyoffice/documentserver/local.json

{
  "services": {
    "CoAuthoring": {
...
      "redis": {
        "host": "YOUR_HOST",
        "port": "YOUR_PORT"
        "options": {"password": "YOUR_PASSWORD"}
      },
...
<!-- gh-comment-id:1132972897 --> @igwyd commented on GitHub (May 20, 2022): Hello @masterwishx, sorry for the late reply. We have addition param for redis, you can add your password in /etc/onlyoffice/documentserver/local.json ``` { "services": { "CoAuthoring": { ... "redis": { "host": "YOUR_HOST", "port": "YOUR_PORT" "options": {"password": "YOUR_PASSWORD"} }, ... ```
Author
Owner

@igwyd commented on GitHub (May 20, 2022):

We havn't docker variable, but i created enhancement bug 57286 in our private issue tracker to implement this.

<!-- gh-comment-id:1133035837 --> @igwyd commented on GitHub (May 20, 2022): We havn't docker variable, but i created enhancement bug 57286 in our private issue tracker to implement this.
Author
Owner

@masterwishx commented on GitHub (May 21, 2022):

will be good to have ENV = REDIS_SERVER_PASS

<!-- gh-comment-id:1133666937 --> @masterwishx commented on GitHub (May 21, 2022): will be good to have ENV = REDIS_SERVER_PASS
Author
Owner

@igwyd commented on GitHub (Aug 3, 2022):

It's fixed at: https://github.com/ONLYOFFICE/Docker-DocumentServer/pull/466
And will be released in the next major release.

<!-- gh-comment-id:1203835940 --> @igwyd commented on GitHub (Aug 3, 2022): It's fixed at: https://github.com/ONLYOFFICE/Docker-DocumentServer/pull/466 And will be released in the next major release.
Author
Owner

@masterwishx commented on GitHub (Aug 3, 2022):

And will be released in the next major release.

Thanks . and what redis db index it will use ?

<!-- gh-comment-id:1204350502 --> @masterwishx commented on GitHub (Aug 3, 2022): > And will be released in the next major release. Thanks . and what redis db index it will use ?
Author
Owner

@masterwishx commented on GitHub (Aug 3, 2022):

Also wanted to ask if i really need using redis if i use onlyoffice docker with PostgresSQL
on Nextcloud Docker that using redis (memcache.locking' => '\OC\Memcache\Redis',)

<!-- gh-comment-id:1204359049 --> @masterwishx commented on GitHub (Aug 3, 2022): Also wanted to ask if i really need using redis if i use onlyoffice docker with PostgresSQL on Nextcloud Docker that using redis (memcache.locking' => '\\OC\\Memcache\\Redis',)
Author
Owner

@igwyd commented on GitHub (Aug 4, 2022):

@masterwishx in DE and EE version onlyoffice-documentserver required redis. We don't specify an index number, I guess using db0 by default, but you can do that if you want. We use node-redis for connection.

<!-- gh-comment-id:1204937857 --> @igwyd commented on GitHub (Aug 4, 2022): @masterwishx in DE and EE version onlyoffice-documentserver required redis. We don't specify an index number, I guess using db0 by default, but you can do that if you want. We use [node-redis](https://github.com/redis/node-redis/blob/master/docs/client-configuration.md) for connection.
Author
Owner

@masterwishx commented on GitHub (Aug 4, 2022):

Thanks, im using CE version its also using redis right ?
i asked about base index becose having an Authelia already on db 0 by default .

<!-- gh-comment-id:1205435527 --> @masterwishx commented on GitHub (Aug 4, 2022): Thanks, im using CE version its also using redis right ? i asked about base index becose having an Authelia already on db 0 by default .
Author
Owner

@igwyd commented on GitHub (Aug 5, 2022):

no, the community version doesn't use redis.

<!-- gh-comment-id:1206283403 --> @igwyd commented on GitHub (Aug 5, 2022): no, the community version doesn't use redis.
Author
Owner

@masterwishx commented on GitHub (Aug 6, 2022):

no, the community version doesn't use redis.

Thanks i got it

<!-- gh-comment-id:1207161953 --> @masterwishx commented on GitHub (Aug 6, 2022): > no, the community version doesn't use redis. Thanks i got it
Author
Owner

@varac commented on GitHub (Aug 25, 2022):

Please release a new docker image soon containing this fix, the last version on docker hub is 3 month old (7.1.1.23):

image

<!-- gh-comment-id:1227446564 --> @varac commented on GitHub (Aug 25, 2022): Please release a new docker image soon containing this fix, the last version on docker hub is 3 month old ([7.1.1.23](https://hub.docker.com/layers/documentserver/onlyoffice/documentserver/7.1.1.23/images/sha256-8a1edcc13f9d9dd61f3e77bcb172b0f32d0788aa2c63bb5a1206a7633e3dd2f8?context=explore)): ![image](https://user-images.githubusercontent.com/488213/186709775-cbec4015-7176-4c9a-acd1-9a5613bdb619.png)
Author
Owner

@ShockwaveNN commented on GitHub (Aug 25, 2022):

@varac We update version as soon as v7.2 will be ready for release, probably next month

Right now it's not in production-ready state

<!-- gh-comment-id:1227448157 --> @ShockwaveNN commented on GitHub (Aug 25, 2022): @varac We update version as soon as v7.2 will be ready for release, probably next month Right now it's not in production-ready state
Author
Owner

@ShockwaveNN commented on GitHub (Sep 23, 2022):

DocumentServer v7.2 is released. This issue should be fixed

Feel free to comment or reopen it if you got further questions

<!-- gh-comment-id:1256410495 --> @ShockwaveNN commented on GitHub (Sep 23, 2022): DocumentServer v7.2 is released. This issue should be fixed Feel free to comment or reopen it if you got further questions
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-DocumentServer-ONLYOFFICE#193
No description provided.