github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/deployments/engine/docker-compose/1meta.yaml (about)

     1  version: '2.3'
     2  
     3  services:
     4    etcd-standalone:
     5      image: quay.io/coreos/etcd
     6      container_name: etcd-standalone
     7      command:
     8        - "etcd"
     9        - "--listen-client-urls=http://0.0.0.0:2379"
    10        - "--advertise-client-urls=http://etcd-standalone:2379"
    11      ports:
    12        - "12479:2379"
    13    mysql-standalone:
    14      image: mysql:8.0
    15      container_name: mysql-standalone
    16      command: --default-authentication-plugin=mysql_native_password
    17      environment:
    18        MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
    19      volumes:
    20        - './config/mysql_meta.cnf:/etc/my.cnf'
    21      ports:
    22        - "3336:3306"
    23      healthcheck:
    24        test: mysql -h127.0.0.1 -P3306 -e "show databases"
    25        interval: 10s
    26        timeout: 600s
    27        retries: 60