-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathdocker-compose.yml
37 lines (34 loc) · 1.07 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
version: "2"
services:
orthanc-new-mssql:
image: orthancteam/orthanc:24.3.3-full
depends_on:
db:
condition: service_healthy
ports: ["8042:8042"]
volumes: ["storage:/var/lib/orthanc/db"]
environment:
ORTHANC__ODBC__INDEX_CONNECTION_STRING: "Driver={ODBC Driver 18 for SQL Server};Server=tcp:db,1433;Database=orthanctest;Uid=sa;Pwd=MyStrOngPa55word!;Encrypt=yes;TrustServerCertificate=yes;Connection Timeout=30;"
ORTHANC__ODBC__ENABLE_INDEX: "true"
ORTHANC__ODBC__ENABLE_STORAGE: "false"
ORTHANC__AUTHENTICATION_ENABLED: "false"
VERBOSE_STARTUP: "true"
VERBOSE_ENABLED: "true"
restart: unless-stopped
db:
build: index
ports: ["1434:1433"]
volumes: ["index:/var/opt/mssql"]
healthcheck:
test: /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P "$$SA_PASSWORD" -Q "SELECT 1" || exit 1
interval: 10s
timeout: 3s
retries: 10
start_period: 10s
environment:
ACCEPT_EULA: "Y"
SA_PASSWORD: "MyStrOngPa55word!"
restart: unless-stopped
volumes:
storage:
index: