Wordpress + wp-db + onlyoffice docker images on one server

your goal (suggest a feature, report a bug):

I have a alpine-linux host and running 3 docker containers with the below mentioned yaml file.

problem description,

I installed the onlyoffice plugin in wordpress, but I do not know what to add to the

“Configure ONLYOFFICE connector settings”
→ “Document Editing Service address” ??
→ “Document server JWT secret key”: ZZZZ

I have tried:
“localhost” “localhost:8082” “192.168.2.218:8082” “onlyoffice” “onlyoffice:8082” …

But when I browse in the wp-admin to OnlyOffice->Files->Open, I get a:

ONLYOFFICE cannot be reached. Please contact admin

what else do you require or how can i troubleshoot?

YAML:

version: ‘3.1’

services:

wordpress:
image: wordpress
restart: always
depends_on:
- db
- onlyoffice
ports:
- 8080:80
environment:
WORDPRESS_DB_HOST: db
WORDPRESS_DB_USER: wordpressdbuser
WORDPRESS_DB_PASSWORD: “XXXX”
WORDPRESS_DB_NAME: wordpressdb
volumes:
- wordpress:/var/www/html

db:
image: mysql:5.7
restart: always
environment:
MYSQL_DATABASE: wordpressdb
MYSQL_USER: wordpressdbuser
MYSQL_PASSWORD: “XXXX”
MYSQL_ROOT_PASSWORD: “YYYY”
volumes:
- db:/var/lib/mysql

onlyoffice:
image: onlyoffice/documentserver
restart: always
ports:
- 8082:80
environment:
JWT_ENABLED: “true”
JWT_SECRET: “ZZZZZ”
volumes:
- onlyoffice:/var/www/onlyoffice/Data

volumes:
wordpress:
db:
onlyoffice:

Hello @myngo

Please take a look at this article from our official Help Center for more information on how to configure WordPress:
https://helpcenter.onlyoffice.com/integration/gettingstarted-wordpress.aspx
Basically Document Editing Service address - is the address of your Document Server. You have to use Document Server external IP address or associated to it domain name to connect.

Important: The address of ONLYOFFICE Docs must be accessible from WordPress, as well as the address of WordPress must be accessible from ONLYOFFICE Docs.

1 Like

thank you very much, constantine!

I will try out and report.

OnlyOffice is an amazing tool!

Looking forward to your feedback.