mirror of
https://github.com/tschettervictor/bsd-apps.git
synced 2025-12-11 17:39:55 +01:00
Compare commits
4 Commits
66e7bb72a9
...
3e9ebde3c6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3e9ebde3c6 | ||
|
|
588f175618 | ||
|
|
a4af38bde5 | ||
|
|
fbbe544f15 |
@@ -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
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user