Setting up docker with ONLYOFFICE in Docker

December 6, 2021 - Reading time: 2 minutes
  1. install portainer
  2. git clone https://github.com/ONLYOFFICE/docker-onlyoffice-nextcloud
  3. follow instructions at https://github.com/ONLYOFFICE/docker-onlyoffice-nextcloud
  4. install mariadb docker

Configuration time

Configure mariadb to listen on the nextcloud network

docker exec -it nc-mariadb bash
apt update
apt install nano
nano /etc/mysql/my.cnf

Add the following:

under [mariadbd] add

skip-innodb-read-only-compressed

[mysqld]

bind-address = 172.22.0.5

Save and restart nc-mariadb

Add a remote user --> https://mariadb.com/kb/en/configuring-mariadb-for-remote-client-access/

Add a nextcloud database --> https://docs.nextcloud.com/server/latest/admin_manual/configuration_database/linux_database_configuration.html

Then navigate to your nextcloud instance and initialise nextcloud using mariadb as a database server

LazyCoderOZ

I am a Linux guy, been around for 20+ years using Linux as my daily driver.
This is my blog on my discoveries and notes so I don't forget how I have done things :)