Docker Server Setup

After configuring my Server as written in Server setup, me and my friend Claudio figured that even if understanding Docker is boring and tricky, managing and maintaining software through it is much more simple and secure.

So one night we backed up all of my data on the server, we completely wiped it clean, and we reinstalled Ubuntu 20.04 from scratch. After doing this, we reinstalled everything through Docker.

Actually, it’s quite useless to thoroughly write and explain all of the steps to do this since there are some very well written guides which I'll link below.

Useful commands

occ through Docker

docker-compose exec --user www-data app php occ db:add-missing-indices