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:
parent
e3e298984f
commit
e288ecb954
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue