FOSS ruby, elisp and python dev, ex scout leader, interested in openweb, semanticweb, privacy and socialeconomy. 0xA714ECAC8C9CEE3D

  • 0 Posts
  • 8 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle
  • Yes and no. Theoretically, yes you may use one database for all services. Historically it was even an old assumption and some services still ask you for a table prefix to allow various services to use the same db without clashes. However it’s no more recommended and you should absolutely avoid going this way.

    But nothing blocks you to have several separate databases on the same server. Here your mysql docker container play the role of a database server. You can use the same container for different services using different databases. Create one specific user/database per service inside your container (you may wrap the official mysql image inside your own image to script its creation), then add it in your docker-compose file and make all your services depend on the same service.


  • Just for a family and friends I’d go for xmpp. Matrix is still an enormous greavy piece of software, hard to self host if you don’t want to pay for a gigantic server just for it. Also the UI is more like gamer/company chat (discord, slack…), what may not be what your family expect, coming from whatsapp, telegram, or plain sms. In the contrary xmpp is very light and nowadays a lot of tutorial exists on how to configure it, even with voice/video. Plus mobile apps like conversation match the habbits of other messengers.