-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
docker-compose.yml
60 lines (56 loc) · 1.33 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
59
60
version: '2'
services:
mysql:
image: mysql:5.7
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=pop_test
- MYSQL_USER=pop
- MYSQL_PASSWORD=pop
#volumes:
#- ./_vol/mysql:/docker-entrypoint-initdb.d
ports:
- "3307:3306"
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
interval: 5s
timeout: 5s
retries: 10
start_period: 3s
postgres:
image: postgres:10
environment:
- POSTGRES_DB=pop_test
- POSTGRES_PASSWORD=postgres
ports:
- "5433:5432"
#volumes:
#- ./_vol/postgres:/docker-entrypoint-initdb.d
healthcheck:
test: ["CMD", "pg_isready"]
interval: 5s
timeout: 5s
retries: 10
start_period: 3s
cockroach:
image: cockroachdb/cockroach:latest-v21.1
ports:
- "26258:26257"
- "8081:8080"
#volumes:
#- ./_vol/cockroach:/cockroach/cockroach-data
command: start-single-node --insecure
healthcheck:
test: ["CMD", "curl", "http://localhost:8080/health"]
interval: 5s
timeout: 5s
retries: 10
start_period: 3s
# mssqlserver:
# image: "microsoft/mssql-server-linux"
# environment:
# - SA_PASSWORD=Tt@12345678
# - MSSQLSERVER_PASSWORD=Tt@12345678
# - ACCEPT_EULA=Y
# ports:
# - "1433:1433"