1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
|
version: "3.9"
services:
mysql56:
platform: linux/amd64
image: mysql:5.6.35
environment:
MYSQL_DATABASE: test
MYSQL_ROOT_PASSWORD: pass
healthcheck:
test: mysqladmin ping -ppass
ports:
- "3306:3306"
mysql57:
platform: linux/amd64
image: mysql:5.7.26
environment:
MYSQL_DATABASE: test
MYSQL_ROOT_PASSWORD: pass
healthcheck:
test: mysqladmin ping -ppass
ports:
- "3307:3306"
mysql8:
platform: linux/amd64
image: mysql:8.0.19
environment:
MYSQL_DATABASE: test
MYSQL_ROOT_PASSWORD: pass
healthcheck:
test: mysqladmin ping -ppass
ports:
- "3308:3306"
postgres10:
platform: linux/amd64
image: postgres:10
environment:
POSTGRES_DB: test
POSTGRES_PASSWORD: pass
healthcheck:
test: pg_isready -U postgres
ports:
- "5430:5432"
postgres11:
platform: linux/amd64
image: postgres:11
environment:
POSTGRES_DB: test
POSTGRES_PASSWORD: pass
healthcheck:
test: pg_isready -U postgres
ports:
- "5431:5432"
postgres12:
platform: linux/amd64
image: postgres:12
environment:
POSTGRES_DB: test
POSTGRES_PASSWORD: pass
healthcheck:
test: pg_isready -U postgres
ports:
- "5432:5432"
postgres13:
platform: linux/amd64
image: postgres:13
environment:
POSTGRES_DB: test
POSTGRES_PASSWORD: pass
healthcheck:
test: pg_isready -U postgres
ports:
- "5433:5432"
postgres14:
platform: linux/amd64
image: postgres:14
environment:
POSTGRES_DB: test
POSTGRES_PASSWORD: pass
healthcheck:
test: pg_isready -U postgres
ports:
- "5434:5432"
mariadb:
platform: linux/amd64
image: mariadb
environment:
MYSQL_DATABASE: test
MYSQL_ROOT_PASSWORD: pass
healthcheck:
test: mysqladmin ping -ppass
ports:
- "4306:3306"
mariadb102:
platform: linux/amd64
image: mariadb:10.2.32
environment:
MYSQL_DATABASE: test
MYSQL_ROOT_PASSWORD: pass
healthcheck:
test: mysqladmin ping -ppass
ports:
- "4307:3306"
mariadb103:
platform: linux/amd64
image: mariadb:10.3.13
environment:
MYSQL_DATABASE: test
MYSQL_ROOT_PASSWORD: pass
healthcheck:
test: mysqladmin ping -ppass
ports:
- "4308:3306"
# Default DB test, No Password
tidb5:
platform: linux/amd64
image: pingcap/tidb:v5.4.0
ports:
- "4309:4000"
tidb6:
platform: linux/amd64
image: pingcap/tidb:v6.0.0
ports:
- "4310:4000"
cockroach21.2.11:
platform: linux/amd64
image: cockroachdb/cockroach:v21.2.11
ports:
- "26257:26257"
command: "start-single-node --insecure"
|