forked from ethyca/fides
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.integration-tests.yml
48 lines (45 loc) · 1.05 KB
/
docker-compose.integration-tests.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
services:
fides:
depends_on:
- postgres-test
- mysql-test
- sqlserver-test
postgres-test:
image: postgres:12
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
interval: 15s
timeout: 5s
retries: 5
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres_example
expose:
- 6432
ports:
- "0.0.0.0:6432:5432"
mysql-test:
image: mysql:8
platform: linux/amd64
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
- MYSQL_HOST=mysql_example
- MYSQL_DATABASE=mysql_example
- MYSQL_ROOT_PASSWORD=example
- MYSQL_USER=mysql_user
- MYSQL_PASSWORD=mysql_pw
expose:
- 3306
ports:
- "3306:3306"
sqlserver-test:
image: mcr.microsoft.com/azure-sql-edge:latest # Equivalent to SQL Server 2016
environment:
- ACCEPT_EULA=Y
- SA_PASSWORD=SQLserver1
expose:
- 1433
ports:
- "0.0.0.0:1433:1433"