Skip to content

Commit

Permalink
Merge release/v8.2.1 into master
Browse files Browse the repository at this point in the history
  • Loading branch information
agolybev committed Nov 13, 2024
2 parents 2d5115b + 2d5e9c1 commit c847e4d
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ PRODUCT_EDITION=
# Unless otherwise specified, the latest up-to-date version will be used
# Example:
# RELEASE_VERSION=-7.2.2
RELEASE_VERSION=-8.2.0
RELEASE_VERSION=-8.2.1

# The hash that will be appended to the ONLYOFFICE Docs version in the request URLs
DS_VERSION_HASH=1
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.noplugins
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ LABEL maintainer Ascensio System SIA <[email protected]>
ARG COMPANY_NAME=onlyoffice
ARG DS_VERSION_HASH
ENV COMPANY_NAME=$COMPANY_NAME \
APPLICATION_NAME=$COMPANY_NAME \
DS_VERSION_HASH=$DS_VERSION_HASH \
NODE_ENV=production-linux \
NODE_CONFIG_DIR=/etc/$COMPANY_NAME/documentserver
Expand Down Expand Up @@ -211,7 +212,7 @@ RUN mkdir -p \
USER ds
ENTRYPOINT dumb-init docker-entrypoint.sh /var/www/$COMPANY_NAME/documentserver/server/FileConverter/converter

FROM node:alpine3.19 AS example
FROM node:20-alpine3.19 AS example
LABEL maintainer Ascensio System SIA <[email protected]>

ENV LANG=en_US.UTF-8 \
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ Below is the complete list of parameters for `onlyoffice/docs-docservice`, `only
- **REDIS_SERVER_PWD**: The password set for the Redis account.
- **REDIS_SERVER_DB_NUM**: Number of the redis logical database to be [selected](https://redis.io/commands/select/). Default to `0`.
- **REDIS_SENTINEL_GROUP_NAME**: Name of a group of Redis instances composed of a master and one or more slaves. Default to `mymaster`.
- **REDIS_SENTINEL_PWD**: The password set for the Redis Sentinel nodes. Default to empty.
- **REDIS_CLUSTER_NODES**: List of nodes in the Redis cluster. There is no need to specify every node in the cluster, 3 should be enough. You can specify multiple values separated by a space. It must be specified in the `host:port` format.
- **JWT_ENABLED**: Specifies the enabling the JSON Web Token validation by the ONLYOFFICE Docs. Common for inbox and outbox requests. Defaults to `true`.
- **JWT_ENABLED_INBOX**: Specifies the enabling the JSON Web Token validation by the ONLYOFFICE Docs only for inbox requests. Default, the value of the variable `JWT_ENABLED` is used.
Expand Down
4 changes: 1 addition & 3 deletions config/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ events {
}

http {
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"';

access_log off;

Expand Down
1 change: 1 addition & 0 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export NODE_CONFIG='{
}
],
"name": "'${REDIS_SENTINEL_GROUP_NAME:-mymaster}'",
"sentinelPassword": "'${REDIS_SENTINEL_PWD}'",
"username": "'${REDIS_SERVER_USER:-default}'",
"password": "'${REDIS_SERVER_PWD}'",
"db": "'${REDIS_SERVER_DB_NUM:-0}'"
Expand Down
3 changes: 3 additions & 0 deletions proxy-docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ fi
cp -r /etc/nginx/* /tmp/proxy_nginx/
sed 's|\(worker_connections\) [[:digit:]]*;|\1 '$NGINX_WORKER_CONNECTIONS';|g' -i /tmp/proxy_nginx/nginx.conf
sed "s/\(worker_processes\).*/\1 $NGINX_WORKER_PROCESSES;/" -i /tmp/proxy_nginx/nginx.conf
if [[ -n "$NGINX_LOG_FORMAT" ]]; then
sed "s/\(log_format main\).*/\1 '$NGINX_LOG_FORMAT';/" -i /tmp/proxy_nginx/nginx.conf
fi
if [ $NGINX_ACCESS_LOG != "off" ]; then
sed 's|#*\(\s*access_log\).*;|\1 /var/log/nginx/access.log '$NGINX_ACCESS_LOG';|g' -i /tmp/proxy_nginx/nginx.conf
fi
Expand Down

0 comments on commit c847e4d

Please sign in to comment.