-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (44 loc) · 1.3 KB
/
Copy pathdocker-compose.yml
File metadata and controls
46 lines (44 loc) · 1.3 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
services:
postgres:
image: postgres:17-alpine
environment:
POSTGRES_USER: backwave
POSTGRES_PASSWORD: backwave
POSTGRES_DB: backwave_test
ports:
- "5499:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U backwave -d backwave_test"]
interval: 2s
timeout: 2s
retries: 30
# amd64-only image: on Apple Silicon it runs under Rosetta emulation (slow but correct).
sqlserver:
image: mcr.microsoft.com/mssql/server:2022-latest
platform: linux/amd64
environment:
ACCEPT_EULA: "Y"
MSSQL_SA_PASSWORD: "BackWave!Passw0rd"
ports:
- "14330:1433"
healthcheck:
test: ["CMD-SHELL", "/opt/mssql-tools18/bin/sqlcmd -S localhost -U sa -P 'BackWave!Passw0rd' -C -Q 'SELECT 1' -b"]
interval: 5s
timeout: 5s
retries: 60
oracle:
image: gvenzl/oracle-free:23-slim
# Oracle needs far more shared memory than Docker's 64 MB default. Without this the instance
# dies on first boot with ORA-00600 [ksipc: no private ips avail] + ORA-29701.
shm_size: 2gb
environment:
ORACLE_PASSWORD: backwave
APP_USER: backwave
APP_USER_PASSWORD: backwave
ports:
- "15210:1521"
healthcheck:
test: ["CMD", "healthcheck.sh"]
interval: 5s
timeout: 5s
retries: 60