-
Notifications
You must be signed in to change notification settings - Fork 1
Docker
This section describes how to run our Api connected to MSSql database in docker containers.
-
Docker Desktop app is running.
-
Our server certificate is added.
-
Check if there are no running containers in Docker Desktop App (Containers Tab).
-
Navigate to the root of the solution (in PowerShell terminal)
Just type in the root of the solution (in PowerShell terminal).
docker compose up
running our services (App and MsSql).
docker compose up -d
running our services in background
docker compose up --build
rebuild our image and run services
docker compose down
stopping our services and release the resources.
or just pick docker compose project as start up project in visual studio
Connect to database using SQL Server Management Studio with following credentials:
server name: localhost,1433
authentication: SQL Server Authentication
login: sa
password: S3cur3P@ssW0rd!
When your containers are running you can test our api in a browser at:
Create a new user in Keycloak.
I'll add more info later.