This video is intended for new Docker users, especially those using Portainer docker-compose.yml files, to create numerous stacks for services, where there is a shared database with an associated phpMyAdmin manager. The database service stack also creates a user-defined shared network, which allows the various container services to communicate with the shared database service. So many example tutorials only deal with a single service, and it's own linked database, so I decided to make this video to give a conceptual overview of how a shared database can be utilised.
The docker-compose files are intended to spin up and create stacks, each of which can have one or more associated containers, with each container being created by its image being pulled for installation. There are links below the video to the example docker-compose files.
Chapters:
Intro 00:00
Why Docker Containers 01:02
The Problem 02:02
What I wanted with a shared database 02:41
Pointing Nginx Proxy Manager to a container name 07:31
Issues with NextCloud itself 08:20
Database stack composer file 09:55
WordPress stack composer file 15:21
Database stack composer file at https://pastebin.com/WbZHg99U
WordPress stack composer file at https://pastebin.com/Ffd2Pkwg
#docker #howto #portainer #mariadb #mysql #technology #containers #nextcloud #wordpress #FOSS #database