-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmssql-compose.yml
More file actions
40 lines (39 loc) · 942 Bytes
/
Copy pathmssql-compose.yml
File metadata and controls
40 lines (39 loc) · 942 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
34
35
36
37
38
39
40
# Authored by: Adam H. Meadvin
# Email: [email protected]
# GitHub: @GhostMach
# Creation Date: 21 January 2024
# Update Date: 29 May 2024
services:
mssql:
env_file:
- .env
image: ${mssql_img_name}
build:
context: .
dockerfile: ms_sql.Dockerfile
args:
feature_tag: ${feature_tag_name}
container_name: ${mssql_container_name}
ports:
- ${port_values}
volumes:
- type: bind
source: ${dblog_dir}
target: ${mssql_path}dblog
- type: bind
source: ${dbdata_dir}
target: ${mssql_path}dbdata
- type: bind
source: ${data_dir}
target: ${mssql_path}data
- type: bind
source: ${backup_dir}
target: /var/backups
networks:
- ms-sql-network
networks:
ms-sql-network:
ipam:
config:
- subnet: ${subnet_range}
name: sql-db