-
Notifications
You must be signed in to change notification settings - Fork 923
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Serilog sample to ref servers (#1263)
- the Serilog trace event logger replaces the default log output file - optional logging to console / debug
- Loading branch information
Showing
11 changed files
with
267 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
REM build a docker container of the console reference server | ||
dotnet build NetCoreReferenceServer.csproj | ||
dotnet publish NetCoreReferenceServer.csproj -o ./publish | ||
docker build -t netcorerefserver . | ||
dotnet build ConsoleReferenceServer.csproj | ||
dotnet publish ConsoleReferenceServer.csproj -o ./publish | ||
docker build -t consolerefserver . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/bash | ||
echo build a docker container of the .NET Core reference server | ||
dotnet build NetCoreReferenceServer.csproj | ||
dotnet publish NetCoreReferenceServer.csproj -o ./publish | ||
sudo docker build -t netcorerefserver . | ||
dotnet build ConsoleReferenceServer.csproj | ||
dotnet publish ConsoleReferenceServer.csproj -o ./publish | ||
sudo docker build -t consolerefserver . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
echo Run a docker container of the console reference server | ||
echo The certificate store of the ref server is mapped to './OPC Foundation' | ||
docker run -it -p 62541:62541 -h refserver -v "%CD%/OPC Foundation:/root/.local/share/OPC Foundation" netcorerefserver:latest | ||
docker run -it -p 62541:62541 -h refserver -v "%CD%/OPC Foundation:/root/.local/share/OPC Foundation" consolerefserver:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/bin/bash | ||
echo Run a docker container of the console reference server | ||
echo The certificate store of the ref server is mapped to './OPC Foundation' | ||
sudo docker run -it -p 62541:62541 -h refserver -v "$(pwd)/OPC Foundation:/root/.local/share/OPC Foundation" netcorerefserver:latest | ||
sudo docker run -it -p 62541:62541 -h refserver -v "$(pwd)/OPC Foundation:/root/.local/share/OPC Foundation" consolerefserver:latest |
Oops, something went wrong.