anweshtupili
anweshtupili
My Compose File: version: "3" services: mysql-1: image: "mattalord/innodb-cluster" restart: always hostname: mysql-1 deploy: mode: "replicated" replicas: 1 placement: constraints: [node.hostname == node1] environment: - "MYSQL_ROOT_PASSWORD=root" - "GROUP_NAME=C55153C1-1574-4972-BF06-7332D6AD46A7" - "BOOTSTRAP=1"...
version: "3" services: mysql-server-1: env_file: - mysql-server.env image: mysql/mysql-server:8.0.12 deploy: mode: "replicated" replicas: 1 placement: constraints: [node.hostname == node1] ports: - "3301:3306" command: [ "mysqld", "--server_id=1", "--binlog_checksum=NONE", "--gtid_mode=ON", "--enforce_gtid_consistency=ON", "--log-bin=mysql-bin-1.log",...
I'm using **docker stack deploy** **-c file.yml** command to run the compose file and my docker version is :18.09.0,