Install & configure Euro Office for Nextcloud with Docker
- official documentation
How to install Euro-Office in Nextcloud
Installing Nextcloud Office β Euro office for Nextcloud with Docker
This example will require Docker and a Reverse proxy for the Euro-Office document server.
Install Docker on host. Create a DNS for subdomain like eurooffice.mydomain.tld. Create a proxy host for HTTP & WSS (Websockets Support) for port 8890 on reverse proxy pointing to that host and get the domain name encrypted.
Create a random 32 character password with openssl for that service
IMPORTANT!
Make sure you create a
JWT_SECRET(32 char) for that service! Note: the document server will fail to start correctly without a 32 characterJWT_SECRET!
Note down theJWT_SECRETas you will need it for creating the Docker stack and for configuring Nextcloud Office.
- issue command in host shell
openssl rand -hex 32
Create and launch Docker stack
services:
euro-office:
container_name: euro-office
image: ghcr.io/euro-office/documentserver:latest
restart: unless-stopped
environment:
- JWT_ENABLED=true
- JWT_SECRET=9316adec2dd1c83cdab77777d75424e2fd000957h386ba45k92e6860g1713403
ports:
- 8890:80
volumes:
- euro-office_data:/var/lib/euro-office
- euro-office_config:/etc/euro-office
- euro-office_logs:/var/log/euro-office
- ./custom-fonts:/usr/share/fonts/custom
tty: true
stdin_open: true
volumes:
euro-office_data:
euro-office_config:
euro-office_logs:
Upgrade Euro Office Docker image
- stop docker container see Docker stop
- remove image see Docker rm
- start docker stack see Docker compose start
Install Nextcloud Office connector
- Install βNextcloud Officeβ from app store in Nextcloud
or
- Issue OCC command in host shell:
occ app:enable eurooffice
Configure Nextcloud Office in Nextcloud
navigate to Administration settings β Nextcloud Office β Server settings
- enter your documentserver URL
https://eurooffice.mydomain.tld - enter secret (32 char) key (
JWT_SECRET) as defined in docker stack9316adec2dd1c83cdab77777d75424e2fd000957h386ba45k92e6860g1713403)

