I use docker for work … sure only one specific setup but I think I am fine with setting it up and containers and mounting in directories for the data etc. much more comfortable than I am with ansible. I previously used docker for my server before switching over to the virtual one and using plesk.
Migration is the most difficult part definitely. some of the tools I use should be easily migrated via db dumps and scp …
I have previously migrated mailserver, wordpress. Nextcloud I am not sure… most of the non-file based stuff is in the database. the files I could probably reupload or scp. It think that one just uses a directory to store the files.
The impact I most expect is that I run everything on a test domain, then migrate my data and point my main domain + subdomains at the new server and some internal configuration is forgotten and the thing instead of “mydomain.de” thinks it is called “mytestdomain.de” and foobars everything and debugging takes forever. Ideally the services are agnostic to what domain they are running on but in my experience they are not. (Wordpress is definitely guilt of this stuff, mailserver is the thing I am most afraid of)
Backend… file-system and mysql … I have some of the files on an “external” virtual drive that I might be able to remount to the new server. I am not sure. This is all virtual server stuff. I have a hard time explaining these things. Sorry -.-
Ah Grüne Wiese. Yes yes, the new server is empty for now.
Here's my plan:
- nginx
- letsencrypt
- firewall (ufw)
- docker
- mailserver: Docker
- nextcoud: Docker
- wordpress: Docker
- gitea: https://docs.gitea.io/en-us/installation/install-with-docker/
- roundcube: https://hub.docker.com/r/roundcubeorg/roundcubemail
- httpd: Docker (my own web tools and some static content)