Compare commits

...

4 Commits

Author SHA1 Message Date
tschettervictor
3e9ebde3c6 Update onlyoffice-install.sh - add "onlyoffice" to resolve at localhost 2025-09-19 22:48:54 -04:00
tschettervictor
588f175618 typo 2025-09-19 22:30:16 -04:00
tschettervictor
a4af38bde5 Update README.md 2025-09-19 22:27:52 -04:00
tschettervictor
fbbe544f15 Update onlyoffice-install.sh - update to version 17 pgsql 2025-09-19 22:27:35 -04:00
2 changed files with 4 additions and 3 deletions

View File

@@ -12,10 +12,10 @@ chmod +x onlyoffice-install.sh
```
## Variables
These are the variables that are available to change along with their defaults and a description of what they do. Other variables should be left at defalut unless you have a good reason to change them.
These are the variables that are available to change along with their defaults and a description of what they do. Other variables should be left at default unless you have a good reason to change them.
PG_VERSION
- postgres version to use (currently defaluts to 16)
- postgres version to use (currently defaluts to 17)
## Mount points (should be mounted outside the jail)
- none

View File

@@ -10,7 +10,7 @@ DB_PASSWORD=$(openssl rand -base64 15)
RABBITMQ_USER="onlyoffice"
RABBITMQ_PASSWORD=$(openssl rand -base64 15)
JWT_SECRET=$(openssl rand -base64 20)
PG_VERSION="16"
PG_VERSION="17"
# Check for Root Privileges
if ! [ $(id -u) = 0 ]; then
@@ -57,6 +57,7 @@ psql -U postgres -c "SELECT pg_reload_conf();"
chown onlyoffice:onlyoffice /usr/local/etc/onlyoffice/documentserver/local.json
# Configure RabbitMQ
echo "127.0.0.1 onlyoffice" >> /etc/hosts
sysrc rabbitmq_enable="YES"
service rabbitmq start
rabbitmqctl --erlang-cookie $(cat /var/db/rabbitmq/.erlang.cookie) add_user ${RABBITMQ_USER} ${RABBITMQ_PASSWORD}