Docker-DocumentServer icon indicating copy to clipboard operation
Docker-DocumentServer copied to clipboard

REDIS_SERVER_PWD is it avalible variable like this to add password of external redis ?

Open masterwishx opened this issue 4 years ago • 11 comments

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

masterwishx avatar Oct 01 '21 16:10 masterwishx

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

ShockwaveNN avatar Oct 04 '21 07:10 ShockwaveNN

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"}
      },
...

igwyd avatar May 20 '22 14:05 igwyd

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

igwyd avatar May 20 '22 15:05 igwyd

will be good to have ENV = REDIS_SERVER_PASS

masterwishx avatar May 21 '22 16:05 masterwishx

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

igwyd avatar Aug 03 '22 11:08 igwyd

And will be released in the next major release.

Thanks . and what redis db index it will use ?

masterwishx avatar Aug 03 '22 18:08 masterwishx

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',)

masterwishx avatar Aug 03 '22 19:08 masterwishx

@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.

igwyd avatar Aug 04 '22 08:08 igwyd

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 .

masterwishx avatar Aug 04 '22 15:08 masterwishx

no, the community version doesn't use redis.

igwyd avatar Aug 05 '22 10:08 igwyd

no, the community version doesn't use redis.

Thanks i got it

masterwishx avatar Aug 06 '22 06:08 masterwishx

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

varac avatar Aug 25 '22 15:08 varac

@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

ShockwaveNN avatar Aug 25 '22 15:08 ShockwaveNN

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

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

ShockwaveNN avatar Sep 23 '22 16:09 ShockwaveNN