Docker
Connecting a Docker Container on Lightsail Instance to AWS Lightsail Database
It is much more convenient to use an isolated Database considering the level of control and ease of data access, compared to an all-in-one docker-compose.
Read more