Skip to content

owncloud-ops/onlyoffice

Repository files navigation

onlyoffice

Build Status Docker Hub Quay.io

Custom container image for OnlyOffice Docs.

Ports

  • 8080

Volumes

  • /var/lib/onlyoffice

Environment Variables

ONLYOFFICE_LOG_LEVEL="INFO"
ONLYOFFICE_METRICS_ENABLED="false"
ONLYOFFICE_METRICS_HOST="localhost"
ONLYOFFICE_METRICS_PORT="8125"
ONLYOFFICE_METRICS_PREFIX="ds"

ONLYOFFICE_DB_HOST="mariadb"
ONLYOFFICE_DB_PORT="3306"
ONLYOFFICE_DB_NAME="onlyoffice"
ONLYOFFICE_DB_USER="onlyoffice"
ONLYOFFICE_DB_PASSWORD="onlyoffice"

ONLYOFFICE_REDIS_HOST="redis"
ONLYOFFICE_REDIS_PORT="6379"

# Enables JSON Web Token validation by the Onlyoffice Document Server.
ONLYOFFICE_JWT_ENABLED="false"
# Defines the secret key to validate the JSON Web Token in the request.
ONLYOFFICE_JWT_SECRET="secret"
# Defines the http header that will be used to send the JSON Web Token.
ONLYOFFICE_JWT_HEADER="Authorization"
# Enables the token validation in the request body.
ONLYOFFICE_JWT_IN_BODY="false"

ONLYOFFICE_AMQP_PROTO="amqp"
ONLYOFFICE_AMQP_USER="guest"
ONLYOFFICE_AMQP_PASSWORD="guest"
ONLYOFFICE_AMQP_HOST="rabbitmq"
ONLYOFFICE_AMQP_PORT="5672"

# Specifies the enabling the wopi handlers.
ONLYOFFICE_WOPI_ENABLED="false"

# Should be set to a random string for production use.
ONLYOFFICE_SECURE_LINK_SECRET="verysecretstring"

ONLYOFFICE_IPFILTER_RULES='[{"address": "*", "allowed": true}]'
ONLYOFFICE_REQUEST_FILTER_ALLOW_PRIVATE_IP_ADDRESS="false"
ONLYOFFICE_REQUEST_FILTER_ALLOW_META_IP_ADDRESS="false"

Build

docker build -f Dockerfile --target onlyoffice -t onlyoffice:latest .

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.