How to share a single database service with various Docker container services

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.

Watch
hqdefault

How to share a single database service with various Docker container services
by Danie van der Merwe on YouTube

#technology #opensource #docker #containers #database