Duende.IdentityServer.Admin icon indicating copy to clipboard operation
Duende.IdentityServer.Admin copied to clipboard

Should the docker-compose.vs.*.yml reference .NET 6?

Open VictorioBerra opened this issue 3 years ago • 2 comments

Describe the bug

I am struggling to get Docker to work.

  • Windows 10
  • Docker
  • WSL2
  • Ubuntu
  • Visual Studio 2022
  • .NET 6
  • Skoruba.Duende.IdentityServer.Admin.Templates::1.1.0

https://github.com/skoruba/Duende.IdentityServer.Admin/blob/63a89aaae7e4e22731305756825eff3ec184ad07/templates/template-publish/content/docker-compose.vs.debug.yml#L8

To Reproduce

Steps to reproduce the behavior:

  • dotnet new skoruba.duende.isadmin --name MySkApp --title "MySkApp" --adminemail "[email protected]" --adminpassword "Pa$$word123" --adminrole Admin --adminclientid SkorubaAdminClient --adminclientsecret SkorubaAdminClientSecret --dockersupport true
  • Edit hosts file on windows, add 127.0.0.1 skoruba.local sts.skoruba.local admin.skoruba.local admin-api.skoruba.local
  • Open powershell:
    • cd shared/nginx/certs; mkcert --install; copy $env:LOCALAPPDATA\mkcert\rootCA.pem ./cacerts.pem; copy $env:LOCALAPPDATA\mkcert\rootCA.pem ./cacerts.crt;
  • Open solution in VS 2022, click the play button, it should say "Docker Compose"

Relevant parts of the log file

image

image

image

image

<log goes here>

VictorioBerra avatar Feb 21 '22 17:02 VictorioBerra

Hello @VictorioBerra - thank you, I will fix it. 👍

skoruba avatar Feb 22 '22 20:02 skoruba

I found this too. you can go ahead and close my issue, this one is much better documented.

swmolen avatar May 20 '22 00:05 swmolen