7d1606bc95
* Add support of MySQL database
40 lines
884 B
Bash
40 lines
884 B
Bash
# DocumentServer Container
|
|
ONLYOFFICE_DATA_CONTAINER=true
|
|
DB_TYPE=postgres
|
|
DB_HOST=onlyoffice-postgresql
|
|
DB_PORT=5432
|
|
DB_NAME=onlyoffice
|
|
DB_USER=onlyoffice
|
|
DB_PWD=onlyoffice
|
|
AMQP_SERVER_TYPE=rabbitmq
|
|
AMQP_SERVER_URL=amqp://guest:guest@onlyoffice-rabbitmq
|
|
REDIS_SERVER_HOST=onlyoffice-redis
|
|
REDIS_SERVER_PORT=6379
|
|
JWT_ENABLED=true
|
|
JWT_SECRET=secret
|
|
JWT_HEADER=Authorization
|
|
|
|
ONLYOFFICE_DATA_CONTAINER_HOST=onlyoffice-documentserver-data
|
|
BALANCE=uri depth 3
|
|
EXCLUDE_PORTS=443
|
|
HTTP_CHECK=GET /healthcheck
|
|
EXTRA_SETTINGS=http-check expect string true
|
|
FORCE_SSL=true
|
|
|
|
# HAProxy Container
|
|
MODE=http
|
|
CERT_FOLDER=/certs/
|
|
|
|
# ActiveMQ Container
|
|
ACTIVEMQ_USERS_guest=guest
|
|
ACTIVEMQ_GROUPS_owners=guest
|
|
|
|
# Postgres Container
|
|
POSTGRES_DB=onlyoffice
|
|
POSTGRES_USER=onlyoffice
|
|
|
|
# MySQL Container
|
|
MYSQL_DATABASE=onlyoffice
|
|
MYSQL_USER=onlyoffice
|
|
MYSQL_PASSWORD=onlyoffice
|
|
MYSQL_ALLOW_EMPTY_PASSWORD=yes |