-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.yml
58 lines (54 loc) · 1.47 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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-tools18/bin/sqlcmd", "-C", "-S", "localhost,1433", "-U", "sa", "-P", "Pa55word", "-Q", "SELECT 1"]
timeout: 20s
interval: 10s
retries: 10
postgres:
container_name: anydataset_db_postgres
image: postgres
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: bitnami/mysql:8.0.20
environment:
- MYSQL_ROOT_PASSWORD=password
- MYSQL_AUTHENTICATION_PLUGIN=mysql_native_password
ports:
- "3306:3306"
healthcheck:
test: [ "CMD", "mysqladmin" ,"ping", "-h", "localhost" ]
timeout: 20s
interval: 10s
retries: 10
oracle:
container_name: oracle
image: container-registry.oracle.com/database/express:21.3.0-xe
environment:
- ORACLE_PWD=password
ports:
- "1521:1521"
volumes:
- ./testsdb/assets:/opt/oracle/scripts/startup
# healthcheck:
# test: [ "CMD", "mysqladmin" ,"ping", "-h", "localhost" ]
# timeout: 20s
# interval: 10s
# retries: 10