The Identity Server is accessed through an Angular Application, both of which are in their own Docker containers, as well as an API and a SQL Server Instance.
Docker-Compose.yml
version: '3.4'
services:
web:
image: angular__image
ports:
- "5004:5004"
depends_on:
- 'identity'
- 'api'
identity:
image: identityserver_image
ports:
- "5000:5000"
environment:
- ASPNETCORE_ENVIRONMENT=Development
api:
image: api__img
ports:
- "5335:5335"
environment:
- ASPNETCORE_ENVIRONMENT=Development
mssql:
image: microsoft/mssql-server-linux
environment:
SA_PASSWORD: "Password"
ACCEPT_EULA: "Y"
MSSQL_PID: "Developer"
ports:
- "1403:1433"
What would be causing me to see this error? I think it directly correlates to my Connection String in ID Server:
"DefaultConnection": "Server=mssql:1433;Initial Catalog=IdentityDB;Integrated Security=True"
Any suggestions?
Thanks,
Gracy Layla