forked from sqlpad/sqlpad
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
97 lines (92 loc) · 1.93 KB
/
docker-compose.yml
File metadata and controls
97 lines (92 loc) · 1.93 KB
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
version: '3'
services:
redis:
image: redis:6-alpine
restart: always
ports:
- 6379:6379
ldap:
image: rroemhild/test-openldap
restart: always
ports:
- 10389:10389
healthcheck:
interval: 5s
timeout: 2s
retries: 10
start_period: 20s
mssql:
image: 'mcr.microsoft.com/mssql/server:2019-CU8-ubuntu-16.04'
hostname: 'mssql'
restart: always
ports:
- 1433:1433
environment:
- ACCEPT_EULA=Y
- MSSQL_SA_PASSWORD=SuperP4ssw0rd!
- MSSQL_PID=Express
healthcheck:
test:
[
'CMD',
'/opt/mssql-tools/bin/sqlcmd',
'-S',
'localhost',
'-U',
'sa',
'-P',
'SuperP4ssw0rd!',
'-Q',
'SELECT 1',
]
interval: 5s
timeout: 2s
retries: 10
start_period: 20s
postgres:
image: postgres:9.6-alpine
restart: always
environment:
POSTGRES_USER: sqlpad
POSTGRES_PASSWORD: sqlpad
POSTGRES_DB: sqlpad
ports:
- '5432:5432'
healthcheck:
test: ['CMD', 'pg_isready']
interval: 5s
timeout: 2s
retries: 10
start_period: 20s
mariadb:
image: mariadb:latest
restart: always
ports:
- 13306:3306
environment:
MYSQL_USER: user
MYSQL_PASSWORD: password
MYSQL_DATABASE: db
MYSQL_ROOT_PASSWORD: password
healthcheck:
test: ['CMD', 'mysqladmin', 'status', '-uroot', '-ppassword']
interval: 5s
timeout: 2s
retries: 10
start_period: 20s
mysql:
image: mysql:8
restart: always
ports:
- 23306:3306
environment:
MYSQL_USER: user
MYSQL_PASSWORD: password
MYSQL_DATABASE: db2
MYSQL_ROOT_PASSWORD: root
healthcheck:
test: ['CMD', 'mysql', '-uuser', '-ppassword', '-e', 'select 1']
interval: 5s
timeout: 2s
retries: 10
start_period: 20s