zanderr/devcdr_server_core

By zanderr

Updated almost 7 years ago

Device Commander Server running on .NET Core 2.2

Image
2

1.0K

zanderr/devcdr_server_core repository overview

DevCDR Server from: https://github.com/rzander/devcdr/tree/ServerCore21 video

Installation Steps::

docker pull zanderr/devcdr_server_core 

#Note: SSL Cert devcdr.pfx is for localhost only...
docker run --name devcdr_server_core -d -p 8000:80 -p 8001:443 -e ASPNETCORE_URLS="https://+;http://+" -e ASPNETCORE_HTTPS_PORT=8001 -e ASPNETCORE_Kestrel__Certificates__Default__Password="tom2ate" -e ASPNETCORE_Kestrel__Certificates__Default__Path=wwwroot/devcdr.pfx zanderr/devcdr_server_core 

Start-Process "https://localhost:8001/"

Note: This Server is not compatible with the "old" .NET46 Agent. You have to install the Agent which is part of the conatiner.

Configuration

DevCdrCore does not require authentication as long as the variable ASPNETCORE_ENVIRONMENT is set to Development.

To enable AzureAD authentication you have to:

  • Create a Application in AzureAD and grant the required users access to this application.
  • Set Variable ASPNETCORE_ENVIRONMENT to "Production"
  • Set Variable AzureAD__TenantId to your AzureAD TenantID
  • Set Variable AzureAD__Domain to your AzureAD Domain
  • Set Variable AzureAD__ClientId to the ApplicationID of the previously created AzureAD Application

Folder Redirection

DevCDR Server is using JainDB with a local File-Store to store all the inventory data. To prevent dataloss, you have to publish the internal Folder wwwroot\jaindb to an external volume.

Tag summary

Content type

Image

Digest

Size

116.8 MB

Last updated

almost 7 years ago

docker pull zanderr/devcdr_server_core