fix(docker-compose): rename connection string environment variable
Updated the connection string environment variable from `ConnectionStrings__Default` to `ConnectionStrings__ComplexConnection` to align with the application's expected configuration key.
This commit is contained in:
@@ -7,7 +7,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- TZ=Asia/Tehran
|
- TZ=Asia/Tehran
|
||||||
- ASPNETCORE_ENVIRONMENT=Production
|
- ASPNETCORE_ENVIRONMENT=Production
|
||||||
- ConnectionStrings__Default=Server=sqlserver,1433;TrustServerCertificate=True;Database=ComplexDb;User Id=sa;Password=qwER12#$110;
|
- ConnectionStrings__ComplexConnection=Server=sqlserver,1433;TrustServerCertificate=True;Database=ComplexDb;User Id=sa;Password=qwER12#$110;
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.complex.rule=Host(`complex.nabaksoft.ir`)"
|
- "traefik.http.routers.complex.rule=Host(`complex.nabaksoft.ir`)"
|
||||||
|
|||||||
Reference in New Issue
Block a user