Onlyoffice documentserver as a custom app on SCALE?

Hi all,

has anyone installed the documentserver that way, already? And would share the magic settings to make it work?

Kind regards,
Patrick

Onlyoffice? I did it a long while ago, needed to set the JWT secret I believe. I’m not sure anymore.

Any reason your choosing SCALE for this?

It used to run great from Truecharts …

Ah! I could check what I can read from their chart.

I use it in a CORE jail anymore. I think that was the last thing that kept me using SCALE until I figured out hire to install it in a jail.

OK, that wasn’t that hard.

https://helpcenter.onlyoffice.com/installation/docs-community-install-docker.aspx

sudo docker run -i -t -d -p 80:80 --restart=always \
    -v /app/onlyoffice/DocumentServer/logs:/var/log/onlyoffice  \
    -v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data  \
    -v /app/onlyoffice/DocumentServer/lib:/var/lib/onlyoffice \
    -v /app/onlyoffice/DocumentServer/db:/var/lib/postgresql -e JWT_SECRET=my_jwt_secret onlyoffice/documentserver

So:

  • map the host paths
  • map a high host port to 80 inside the container
  • add the JWT_SECRET environment variable
  • read the docker help on some Linux system and discover that -i is equivalent to the stdin option in SCALE and -t equivalent to the tty option, so activate both

Voila!

1 Like