network-resurrector/Notes.txt

70 lines
2.4 KiB
Plaintext
Raw Normal View History

2020-11-28 23:48:29 +02:00
#######################################################################################################################################################
Publish:
dotnet publish --configuration Release --runtime win7-x64
Create windows service:
sc create NetworkResurrector.Api binPath= "<path_to_the_service_executable>"
#######################################################################################################################################################
2020-12-26 01:38:41 +02:00
Resources: https://github.com/nikeee/wake-on-lan
Multiple Directory.Build.props:
2020-12-26 01:38:41 +02:00
https://docs.microsoft.com/en-us/visualstudio/msbuild/customize-your-build?view=vs-2019
#######################################################################################################################################################
Azure DevOps Repository Password: ***REMOVED***
#######################################################################################################################################################
Docker commands:
*****************
Agent:
*****************
Create image:
--from solution folder:
docker image build -t "network-resurrector-agent:1.0.0" -f "NetworkResurrector.Agent/Dockerfile" .
Run image:
docker run -p 5053:80 -it network-resurrector-agent:1.0.0
Push image to registry:
--tag image
docker tag network-resurrector-agent:1.0.0 cloud.canister.io:5000/tstanciu/network-resurrector:agent-1.0.0
--login to registry
docker login --username=tstanciu --password="***REMOVED***" cloud.canister.io:5000
--push image
docker push cloud.canister.io:5000/tstanciu/network-resurrector:agent-1.0.0
Pull image from registry
--login to registry with readonly rights
docker login --username=deploy+tstanciu --password=***REMOVED*** cloud.canister.io:5000
--pull image
docker pull cloud.canister.io:5000/tstanciu/network-resurrector:agent-1.0.0
Run container in prod env
docker run --restart=always -p 5008:80 -d cloud.canister.io:5000/tstanciu/network-resurrector:agent-1.0.0
Rename container
docker rename <container_id> network-resurrector-agent
#######################################################################################################################################################
Docker container last version:
- Agent: 1.0.0
2021-02-06 02:12:32 +02:00
##############################################################################################
ORION
***REMOVED***
***REMOVED***
fileSrv
***REMOVED***
***REMOVED***
esxiSrv
***REMOVED***
***REMOVED***
***REMOVED***
***REMOVED***
***REMOVED***