<configuration>
<packageSources>
<add key="UMDNuget" value="https://pkgs.dev.azure.com/unitedwindowmfg/1e4fcdac-b7c9-4478-823a-109475434848/_packaging/UMDNuget/nuget/v3/index.json" />
</packageSources>
<packageSourceCredentials>
<UMDNuget>
<add key="Username" value="any" />
<add key="ClearTextPassword" value="w75dbjeqggfltkt5m65yf3e33fryf2olu22of55jxj4b3nmfkpaa" />
</UMDNuget>
</packageSourceCredentials>
</configuration>
Package Name | Version | Description |
---|---|---|
MobileDeliveryServer | 1.4.0 | Mobile Delivery Server base code for all servers with Symbols |
MobileDeliveryClient | 1.4.0 | Mobile Delivery Client base code for all clients with Symbols |
SubDependencies | Versoin | Thus included in Packages |
---|---|---|
MobileDeliveryLogger | 1.3.0 | Mobile Delivery Logger base code for all components with Symbols |
MobileDeliveryGeneral | 1.4.3 | Mobile Delivery General Code with Symbols |
MobileDeliverySettings | 1.4.3 | Mobile Delivery Settings base code for all components with Symbols |
<appSettings>
<add key="LogPath" value="C:\app\logs\" />
<add key="LogLevel" value="Info" />
<add key="Url" value="localhost" />
<add key="Port" value="81" />
<add key="SQLConn" value="" />
<add key="WinsysUrl" value="localhost" />
<add key="WinsysPort" value="8181" />
<add key="WinsysSrcFilePath" value="\\Fs01\vol1\Winsys32\DATA" />
<!-- If left empty WinsysDestFilePath defaults to Environment.GetFolderPath(Environment.SpecialFolder.Desktop)-->
<add key="WinsysDstFilePath" value="" />
<add key="ClientSettingsProvider.ServiceUri" value="" />
</appSettings>`
nuget restore
nuget spec
nuget pack -IncludeReferencedProjects -Build -Properties Configuration=Release
find -name *.nupkg | xargs -i nuget push {} -Source "UMDNuget" -ApiKey az
docker build -t mobiledeliverymanagercore .
docker run -d -p 81:81 -p 8181:8181 -p 1433:1433 --name mobiledeliverymgrcore --mount source=logs,destination=c:/app/logs mobiledeliverymgrcore
winpty docker exec -it 03f8ba004e11 cmd
** docker exec -it <container_id|container_name> /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P <your_password>
Log Volume for persisting and exposing the logs outside of the container and on localhost's filesystem
In order access log files and not issue docker commands to enter the interactive shell within the running container, volumes (and mounts) offer the ability to expose and persist across restarts and rebuilds on the localhost's file system.
docker volume create logs
docker volume create umd-db
docker volume ls
docker volume inspect logs
[
{
"CreatedAt": "2020-03-24T23:00:30Z",
"Driver": "local",
"Labels": {},
"Mountpoint": "/var/lib/docker/volumes/logs/_data",
"Name": "logs",
"Options": {},
"Scope": "local"
}
]
[
{
"CreatedAt": "2020-03-25T02:35:44Z",
"Driver": "local",
"Labels": {},
"Mountpoint": "/var/lib/docker/volumes/umd-db/_data",
"Name": "umd-db",
"Options": {},
"Scope": "local"
}
]
ToDo
✅ Dockerize
- ❌ Build configuration settings into the docker image based on the settings in the app.config
- ✅ Deploy in Docker Container
- ✔️ Create the docker and compose file
- ✅ Build configuration settings into the docker image based on the settings in the app.config
- ❗ Finish the SQL Server connection string