In my microservices architecture I use Mysql Server. It is described following in my docker-compose.yml file
xdb.accounts: image: mysql/mysql-server restart: