-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
docker-compose.yml
43 lines (41 loc) · 1.1 KB
/
docker-compose.yml
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
version: '3.4'
services:
mssql:
container_name: anydataset_db_mssql
image: mcr.microsoft.com/mssql/server
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=Pa55word
ports:
- "1433:1433"
healthcheck:
test: ["CMD", "/opt/mssql-tools/bin/sqlcmd", "-S", "localhost,1433", "-U", "sa", "-P", "Pa55word", "-Q", "SELECT 1"]
timeout: 20s
interval: 10s
retries: 10
postgres:
container_name: anydataset_db_postgres
image: postgres:14-alpine
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=password
ports:
- "5432:5432"
healthcheck:
test: [ "CMD", "pg_isready", "-q", "-h", "localhost", "-U", "postgres" ]
timeout: 20s
interval: 10s
retries: 10
mysql:
container_name: anydataset_db_mysql
image: mysql:8
command: --default-authentication-plugin=mysql_native_password
environment:
- MYSQL_ROOT_PASSWORD=password
ports:
- "3306:3306"
healthcheck:
test: [ "CMD", "mysqladmin" ,"ping", "-h", "localhost" ]
timeout: 20s
interval: 10s
retries: 10