PhpMyAdmin with MariaDB

How to deploy PhpMyAdmin connected to a MariaDB 11.0 with Service Mesh mTLS.

services:
  - id: pma
    name: PhpMyAdmin
    dockerConfiguration:
      image: phpmyadmin/phpmyadmin
      imageVersion: latest
    countMin: 1
    countMax: 1
    ports:
      - listeningPort: 80
        healthCheckType: HTTP
        healthCheckMethod: GET
        healthCheckPath: /
        loadBalancerRules:
          - publicPort: 443
    links:
      - toServiceId: db
        toServicePort: 3306
        variableHost: MY_DB_HOST
        variablePort: MY_DB_PORT
        variableAddress: MY_DB_ADDRESS
    environmentVariables:
      - key: PMA_HOST
        value: "%MY_DB_ADDRESS%"
      - key: PMA_PORT
        value: "%MY_DB_PORT%"
  - id: db
    name: myDB
    dockerConfiguration:
      image: mariadb
      imageVersion: "11.0"
    countMin: 1
    countMax: 1
    ports:
      - listeningPort: 3306
        healthCheckEnabled: false
    capacityCpuMhz: 1024
    capacityMemoryMB: 512
    environmentVariables:
      - key: MYSQL_RANDOM_ROOT_PASSWORD
        value: "yes"
      - key: MYSQL_USER
        value: "My_DB_User"
      - key: MYSQL_PASSWORD
        value: "***SuperPassWord***"
        isSensitive: true
      - key: MYSQL_DATABASE
        value: "My_DB"