Add SQL Server service to Docker Compose configuration

Introduced an SQL Server service using the official 2022 image. Configured environment variables, ports, and a volume for persistent data storage. This addition supports development and testing scenarios requiring SQL Server.
This commit is contained in:
Sipke Schoorstra 2025-03-13 11:54:54 +01:00
parent e3e298984f
commit e288ecb954
No known key found for this signature in database
GPG key ID: 5C10502B28A4268F

View file

@ -12,6 +12,16 @@
ports:
- "5432:5432"
sqlserver:
image: mcr.microsoft.com/mssql/server:2022-latest
environment:
- ACCEPT_EULA=Y
- MSSQL_SA_PASSWORD=!Elsa2025@
ports:
- 1433:1433
volumes:
- sqlserver_data:/var/opt/mssql
mysql:
image: mysql:8.0
container_name: mysql
@ -126,6 +136,7 @@
- "14000:8080"
volumes:
sqlserver_data:
postgres-data:
oracle-data-free1:
mysql_data2: