Skip to content

Commit 0eb6207

Browse files
authored
Added volumes to Docker Compose. (#202)
1 parent e92499c commit 0eb6207

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

Diff for: CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
Nothing yet.
10+
### Added
11+
12+
- Added volumes to Docker Compose.
1113

1214
## [1.20.0] - 2024-11-19
1315

Diff for: docker-compose.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@ services:
22
logitar_mssql:
33
image: mcr.microsoft.com/mssql/server:2022-latest
44
container_name: Logitar.NET_mssql
5+
user: root
56
environment:
67
ACCEPT_EULA: 'Y'
78
SA_PASSWORD: faQphSAm596DxBN4
89
ports:
910
- 1434:1433
11+
volumes:
12+
- mssql_backup:/var/opt/mssql/backup
13+
- mssql_data:/var/opt/mssql/data
14+
- mssql_log:/var/opt/mssql/log
1015

1116
logitar_postgres:
1217
image: postgres
@@ -15,6 +20,8 @@ services:
1520
POSTGRES_PASSWORD: F2n5WCB4e7tgfqEJ
1621
ports:
1722
- 5434:5432
23+
volumes:
24+
- postgres_data:/var/lib/postgresql/data
1825

1926
logitar_demo:
2027
build:
@@ -27,3 +34,9 @@ services:
2734
ASPNETCORE_Environment: Development
2835
ports:
2936
- 48080:8080
37+
38+
volumes:
39+
mssql_backup:
40+
mssql_data:
41+
mssql_log:
42+
postgres_data:

0 commit comments

Comments
 (0)