docker-apps/onlyoffice/stacks/.documentserver.env
2025-04-03 22:57:52 +02:00

115 lines
3.9 KiB
Bash

#
# environment variables for documentserver
#
PUID=${PUID}
PGID=${PUID}
TZ=${TZ}
PORT=${WEBUI_PORT} #80
# Advanced configuration option for turning off the HSTS configuration. Applicable only when SSL is in use. Defaults to true.
ONLYOFFICE_HTTPS_HSTS_ENABLED=
# Advanced configuration option for setting the HSTS max-age in the onlyoffice nginx vHost configuration. Applicable only when SSL is in use. Defaults to 31536000.
ONLYOFFICE_HTTPS_HSTS_MAXAGE=
# The path to the SSL certificate to use. Defaults to /var/www/onlyoffice/Data/certs/tls.crt.
SSL_CERTIFICATE_PATH=
# The path to the SSL certificate's private key. Defaults to /var/www/onlyoffice/Data/certs/tls.key.
SSL_KEY_PATH=
# The path to the Diffie-Hellman parameter. Defaults to /var/www/onlyoffice/Data/certs/dhparam.pem.
SSL_DHPARAM_PATH=
# Enable verification of client certificates using the CA_CERTIFICATES_PATH file. Defaults to false
SSL_VERIFY_CLIENT=
# The NODE_EXTRA_CA_CERTS to extend CAs with the extra certificates for Node.js. Defaults to /var/www/onlyoffice/Data/certs/extra-ca-certs.pem.
NODE_EXTRA_CA_CERTS=
# The database type. Supported values are postgres, mariadb, mysql, mssql or oracle. Defaults to postgres.
DB_TYPE=postgres
# The database server port number.
DB_PORT=${POSTGRES_PORT}
# The name of a database to use. Should be existing on container startup.
# DB_NAME_FILE=${POSTGRES_DB_FILE}
DB_NAME=${POSTGRES_DB}
# The new user name with superuser permissions for the database account.
# DB_USER_FILE=${POSTGRES_USER_FILE}
DB_USER=${POSTGRES_USER}
# The password set for the database account.
# DB_PWD_FILE=${POSTGRES_PASSWORD_FILE}
DB_PWD=${POSTGRES_PASSWORD}
# The message broker type. Supported values are rabbitmq or activemq. Defaults to rabbitmq.
AMQP_TYPE=rabbitmq
# The Redis server port number.
REDIS_SERVER_PORT=${REDIS_PORT}
# The Redis server password. The password is not set by default.
REDIS_SERVER_PASS=${REDIS_PASSWORD}
# Defines the number of nginx worker processes.
NGINX_WORKER_PROCESSES=
# Sets the maximum number of simultaneous connections that can be opened by a nginx worker process.
NGINX_WORKER_CONNECTIONS=
# Defines secret for the nginx config directive secure_link_md5. Defaults to random string.
SECURE_LINK_SECRET=
# Specifies the enabling the JSON Web Token validation by the ONLYOFFICE Document Server. Defaults to true.
JWT_ENABLED=${JWT_ENABLED}
# Defines the secret key to validate the JSON Web Token in the request to the ONLYOFFICE Document Server. Defaults to random value.
JWT_SECRET=${JWT_SECRET}
# Defines the http header that will be used to send the JSON Web Token. Defaults to Authorization.
JWT_HEADER=${JWT_HEADER}
# Specifies the enabling the token validation in the request body to the ONLYOFFICE Document Server. Defaults to false.
JWT_IN_BODY=true
# Specifies the enabling the wopi handlers. Defaults to false.
WOPI_ENABLED=
# Defines if it is allowed to connect meta IP address or not. Defaults to false.
ALLOW_META_IP_ADDRESS=
# Defines if it is allowed to connect private IP address or not. Defaults to false.
ALLOW_PRIVATE_IP_ADDRESS=
# Set to trueif using selfsigned certificates for your storage server e.g. Nextcloud. Defaults to false
USE_UNAUTHORIZED_STORAGE=
# When 'true' regenerates fonts list and the fonts thumbnails etc. at each start. Defaults to true
GENERATE_FONTS=
# Specifies the enabling StatsD for ONLYOFFICE Document Server. Defaults to false.
METRICS_ENABLED=
# Defines StatsD listening host. Defaults to localhost.
METRICS_HOST=
# Defines StatsD listening port. Defaults to 8125.
METRICS_PORT=
# Defines StatsD metrics prefix for backend services. Defaults to ds..
METRICS_PREFIX=
# Defines the domain for Let's Encrypt certificate.
LETS_ENCRYPT_DOMAIN=${CERT_LETS_ENCRYPT_DOMAIN}
# Defines the domain administator mail address for Let's Encrypt certificate.
LETS_ENCRYPT_MAIL=${CERT_LETS_ENCRYPT_MAIL}
# Defines whether to enable default plugins. Defaults to false.
PLUGINS_ENABLED=