-
-
Notifications
You must be signed in to change notification settings - Fork 24
/
docker-compose.yml
33 lines (30 loc) · 950 Bytes
/
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
version: '2.4'
# Enrique Catalá:
# Web: https://www.clouddataninjas.com
# Linkedin: https://www.linkedin.com/in/enriquecatala/
# Support: https://github.com/sponsors/enriquecatala
services:
db1:
container_name: mssql-server-samplesdb
build:
context: .
dockerfile: Dockerfile
hostname:
mssql-samplesdb
domainname:
enriquecatala.com
environment:
MSSQL_SA_PASSWORD: "PaSSw0rd"
ACCEPT_EULA: "Y"
MSSQL_PID: "Developer"
MSSQL_AGENT_ENABLED: "true"
FORCE_ATTACH_IF_MDF_EXISTS: "${FORCE_ATTACH_IF_MDF_EXISTS}"
INCLUDE_ALL_DATABASES: "${INCLUDE_ALL_DATABASES}"
volumes:
- ${LOCAL_MOUNTPOINT}:/var/opt/mssql/data
- ${SHARED_FOLDER}:/var/opt/mssql/shared_folder
- ./Backups:/var/opt/mssql/backup
ports:
- "14330:1433"
cpu_count: 4
mem_limit: 8Gb