forked from nhibernate/NHibernate.Spatial
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
64 lines (58 loc) · 1.72 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
61
62
63
64
version: "3.8"
services:
sqlserver2017:
image: mcr.microsoft.com/mssql/server:2017-latest
environment:
ACCEPT_EULA: Y
MSSQL_PID: Developer
MSSQL_SA_PASSWORD: # See .env file
ports:
- 11433:1433
healthcheck:
test: /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P $${MSSQL_SA_PASSWORD} -Q 'SELECT 1' || exit 1
interval: 10s
retries: 10
start_period: 10s
timeout: 3s
sqlserver2017.init:
image: mcr.microsoft.com/mssql-tools
environment:
MSSQL_SA_PASSWORD: # See .env file
volumes:
- ./Tests.NHibernate.Spatial.MsSql2012/initdb:/docker-entrypoint-initdb.d
depends_on:
sqlserver2017:
condition: service_healthy
command: sh -c "/opt/mssql-tools/bin/sqlcmd -S sqlserver2017 -U sa -P $${MSSQL_SA_PASSWORD} -d master -i docker-entrypoint-initdb.d/nhsp_test.sql"
mysql57:
image: mysql:5.7
environment:
MYSQL_ROOT_PASSWORD: # See .env file
ports:
- 13306:3306
volumes:
- ./Tests.NHibernate.Spatial.MySQL57/initdb:/docker-entrypoint-initdb.d
mysql80:
image: mysql:8.0
environment:
MYSQL_ROOT_PASSWORD: # See .env file
ports:
- 13307:3306
volumes:
- ./Tests.NHibernate.Spatial.MySQL80/initdb:/docker-entrypoint-initdb.d
postgis20:
image: postgis/postgis:12-2.5
environment:
POSTGRES_PASSWORD: # See .env file
ports:
- 15432:5432
volumes:
- ./Tests.NHibernate.Spatial.PostGis20/initdb:/docker-entrypoint-initdb.d
postgis30:
image: postgis/postgis:12-3.0
environment:
POSTGRES_PASSWORD: # See .env file
ports:
- 15433:5432
volumes:
- ./Tests.NHibernate.Spatial.PostGis30/initdb:/docker-entrypoint-initdb.d