-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (31 loc) · 911 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
33 lines (31 loc) · 911 Bytes
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
services:
mysql:
image: mysql:8.4
environment:
MYSQL_ROOT_PASSWORD: rapyd
ports: ["3306:3306"]
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-prapyd"]
interval: 5s
retries: 20
mssql:
image: mcr.microsoft.com/mssql/server:2022-latest
environment:
ACCEPT_EULA: "Y"
MSSQL_SA_PASSWORD: "Rapyd_Pass1!"
ports: ["1433:1433"]
healthcheck:
test: ["CMD-SHELL", "/opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P \"$$MSSQL_SA_PASSWORD\" -No -Q 'SELECT 1' || exit 1"]
interval: 10s
retries: 20
start_period: 30s
mongo:
image: mongo:7
environment:
MONGO_INITDB_ROOT_USERNAME: rapyd
MONGO_INITDB_ROOT_PASSWORD: rapyd
ports: ["27017:27017"]
healthcheck:
test: ["CMD", "mongosh", "--quiet", "--eval", "db.adminCommand('ping').ok"]
interval: 5s
retries: 20