-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathcompose.mssql.yml
More file actions
33 lines (33 loc) · 841 Bytes
/
compose.mssql.yml
File metadata and controls
33 lines (33 loc) · 841 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:
db:
image: ghcr.io/openimis/openimis-mssql:${DB_TAG:-latest}
init: true
restart: always
environment:
- DB_USER_PASSWORD=${DB_PASSWORD}
- SA_PASSWORD=${DB_PASSWORD}
- DB_NAME=${DB_NAME}
- DB_USER=${DB_USER}
- ACCEPT_EULA=${ACCEPT_EULA}
- DEMO_DATASET=${DEMO_DATASET}
- DB_ENGINE=mssql
healthcheck:
test: "bash /app/healthcheck.sh"
interval: 10s
timeout: 5s
retries: 5
start_period: 100s
ulimits:
nproc: 65535
nofile:
soft: 65535
hard: 65535
networks:
openimis-net:
volumes:
- database:/var/opt/mssql/data
ports:
- 1433:1433
## WARNING:
## exposing the database port outside the openimis-net network
## may lead to security issue (depending on your network topology)