Initial Commit
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# Rider ignored files
|
||||||
|
/modules.xml
|
||||||
|
/projectSettingsUpdater.xml
|
||||||
|
/contentModel.xml
|
||||||
|
/.idea.WyvernInventory.iml
|
||||||
|
# Editor-based HTTP Client requests
|
||||||
|
/httpRequests/
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
||||||
+4
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
|
||||||
|
</project>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="UserContentModel">
|
||||||
|
<attachedFolders />
|
||||||
|
<explicitIncludes />
|
||||||
|
<explicitExcludes />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
using WyvernInventory.Core.Interfaces.Services;
|
||||||
|
using WyvernInventory.Core.Models;
|
||||||
|
|
||||||
|
namespace WyvernInventory.API.Controllers;
|
||||||
|
|
||||||
|
[ApiController]
|
||||||
|
[Route("[controller]")]
|
||||||
|
public class InventoryController(IDataObjectService<GenericInventoryItem> genericItemService)
|
||||||
|
: ControllerBase
|
||||||
|
{
|
||||||
|
private readonly IDataObjectService<GenericInventoryItem> _genericItemService = genericItemService;
|
||||||
|
|
||||||
|
[HttpPost]
|
||||||
|
public List<GenericInventoryItem> Get([FromBody] List<GenericInventoryItem> items)
|
||||||
|
{
|
||||||
|
return _genericItemService.GetAsync(_ => _).Result;
|
||||||
|
}
|
||||||
|
|
||||||
|
[HttpPost("upsert")]
|
||||||
|
public IResult Post([FromBody] List<GenericInventoryItem> items)
|
||||||
|
{
|
||||||
|
(int, int) results = _genericItemService.UpsertAsync(items).Result;
|
||||||
|
|
||||||
|
if (results.Item1 > 0 || results.Item2 > 0)
|
||||||
|
{
|
||||||
|
return Results.StatusCode(201);
|
||||||
|
}
|
||||||
|
|
||||||
|
return Results.Ok();
|
||||||
|
}
|
||||||
|
|
||||||
|
[HttpDelete("{id}")]
|
||||||
|
public IResult Delete([FromRoute] int id)
|
||||||
|
{
|
||||||
|
_genericItemService.DeleteAsync(new() { new() { Id = id } }).Wait();
|
||||||
|
|
||||||
|
return Results.Ok();
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
using Microsoft.AspNetCore.Mvc;
|
||||||
|
|
||||||
|
namespace WyvernInventory.API.Controllers;
|
||||||
|
|
||||||
|
[ApiController]
|
||||||
|
[Route("[controller]")]
|
||||||
|
public class WeatherForecastController : ControllerBase
|
||||||
|
{
|
||||||
|
private static readonly string[] Summaries =
|
||||||
|
[
|
||||||
|
"Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching"
|
||||||
|
];
|
||||||
|
|
||||||
|
[HttpGet(Name = "GetWeatherForecast")]
|
||||||
|
public IEnumerable<WeatherForecast> GetBwah()
|
||||||
|
{
|
||||||
|
return Enumerable.Range(1, 5).Select(index => new WeatherForecast
|
||||||
|
{
|
||||||
|
Date = DateOnly.FromDateTime(DateTime.Now.AddDays(index)),
|
||||||
|
TemperatureC = Random.Shared.Next(-20, 55),
|
||||||
|
Summary = Summaries[Random.Shared.Next(Summaries.Length)]
|
||||||
|
})
|
||||||
|
.ToArray();
|
||||||
|
}
|
||||||
|
|
||||||
|
[HttpGet("bwah", Name = "GetWeatherForecastBwah")]
|
||||||
|
public IEnumerable<WeatherForecast> Get()
|
||||||
|
{
|
||||||
|
return Enumerable.Range(1, 2).Select(index => new WeatherForecast
|
||||||
|
{
|
||||||
|
Date = DateOnly.FromDateTime(DateTime.Now.AddDays(index)),
|
||||||
|
TemperatureC = Random.Shared.Next(-20, 55),
|
||||||
|
Summary = Summaries[Random.Shared.Next(Summaries.Length)]
|
||||||
|
})
|
||||||
|
.ToArray();
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS base
|
||||||
|
USER $APP_UID
|
||||||
|
WORKDIR /app
|
||||||
|
EXPOSE 8080
|
||||||
|
EXPOSE 8081
|
||||||
|
|
||||||
|
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
|
||||||
|
ARG BUILD_CONFIGURATION=Release
|
||||||
|
WORKDIR /src
|
||||||
|
COPY ["WyvernInventory.API/WyvernInventory.API.csproj", "WyvernInventory.API/"]
|
||||||
|
RUN dotnet restore "WyvernInventory.API/WyvernInventory.API.csproj"
|
||||||
|
COPY . .
|
||||||
|
WORKDIR "/src/WyvernInventory.API"
|
||||||
|
RUN dotnet build "./WyvernInventory.API.csproj" -c $BUILD_CONFIGURATION -o /app/build
|
||||||
|
|
||||||
|
FROM build AS publish
|
||||||
|
ARG BUILD_CONFIGURATION=Release
|
||||||
|
RUN dotnet publish "./WyvernInventory.API.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
|
||||||
|
|
||||||
|
FROM base AS final
|
||||||
|
WORKDIR /app
|
||||||
|
COPY --from=publish /app/publish .
|
||||||
|
ENTRYPOINT ["dotnet", "WyvernInventory.API.dll"]
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
using WyvernInventory.Core.Interfaces.Repos;
|
||||||
|
using WyvernInventory.Core.Interfaces.Services;
|
||||||
|
using WyvernInventory.Core.Models;
|
||||||
|
using WyvernInventory.Infrastructure.Repos;
|
||||||
|
using WyvernInventory.Infrastructure.Services;
|
||||||
|
|
||||||
|
var builder = WebApplication.CreateBuilder(args);
|
||||||
|
|
||||||
|
// Add services to the container.
|
||||||
|
|
||||||
|
builder.Services.AddControllers();
|
||||||
|
// Learn more about configuring OpenAPI at https://aka.ms/aspnet/openapi
|
||||||
|
builder.Services.AddOpenApi();
|
||||||
|
builder.Services.AddSingleton<IDbObjectRepo<GenericInventoryItem>, GenericInventoryItemRepo>();
|
||||||
|
builder.Services.AddSingleton<IDataObjectService<GenericInventoryItem>, GenericInventoryItemService>();
|
||||||
|
|
||||||
|
var app = builder.Build();
|
||||||
|
|
||||||
|
// Configure the HTTP request pipeline.
|
||||||
|
if (app.Environment.IsDevelopment())
|
||||||
|
{
|
||||||
|
app.MapOpenApi();
|
||||||
|
}
|
||||||
|
|
||||||
|
app.UseHttpsRedirection();
|
||||||
|
|
||||||
|
app.UseAuthorization();
|
||||||
|
|
||||||
|
app.MapControllers();
|
||||||
|
|
||||||
|
app.Run();
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://json.schemastore.org/launchsettings.json",
|
||||||
|
"profiles": {
|
||||||
|
"http": {
|
||||||
|
"commandName": "Project",
|
||||||
|
"dotnetRunMessages": true,
|
||||||
|
"launchBrowser": false,
|
||||||
|
"applicationUrl": "http://0.0.0.0:5244",
|
||||||
|
"environmentVariables": {
|
||||||
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"https": {
|
||||||
|
"commandName": "Project",
|
||||||
|
"dotnetRunMessages": true,
|
||||||
|
"launchBrowser": false,
|
||||||
|
"applicationUrl": "https://localhost:7048;http://localhost:5244",
|
||||||
|
"environmentVariables": {
|
||||||
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
namespace WyvernInventory.API;
|
||||||
|
|
||||||
|
public class WeatherForecast
|
||||||
|
{
|
||||||
|
public DateOnly Date { get; set; }
|
||||||
|
|
||||||
|
public int TemperatureC { get; set; }
|
||||||
|
|
||||||
|
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
|
||||||
|
|
||||||
|
public string? Summary { get; set; }
|
||||||
|
}
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="10.0.6"/>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="..\.dockerignore">
|
||||||
|
<Link>.dockerignore</Link>
|
||||||
|
</Content>
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\WyvernInventory.Core\WyvernInventory.Core.csproj" />
|
||||||
|
<ProjectReference Include="..\WyvernInventory.Infrastructure\WyvernInventory.Infrastructure.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
@WyvernInventory.API_HostAddress = http://localhost:5244
|
||||||
|
|
||||||
|
POST http://localhost:5244/inventory
|
||||||
|
Content-Type: application/json
|
||||||
|
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "RTX 4070"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
###
|
||||||
|
|
||||||
|
POST http://localhost:5244/inventory/upsert
|
||||||
|
Content-Type: application/json
|
||||||
|
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"name": "RTX 4070 Ti Super",
|
||||||
|
"description": "Desktop GPU"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Ryzen 9 7950X3D",
|
||||||
|
"description": "Desktop CPU 16c/32t"
|
||||||
|
}
|
||||||
|
]
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"Logging": {
|
||||||
|
"LogLevel": {
|
||||||
|
"Default": "Information",
|
||||||
|
"Microsoft.AspNetCore": "Warning"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"Logging": {
|
||||||
|
"LogLevel": {
|
||||||
|
"Default": "Information",
|
||||||
|
"Microsoft.AspNetCore": "Warning"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"AllowedHosts": "*"
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
namespace WyvernInventory.Core.Interfaces.Repos;
|
||||||
|
|
||||||
|
public interface IDbObjectRepo<T>
|
||||||
|
{
|
||||||
|
public Task<List<T>> GetAsync(Predicate<T>? filter = null);
|
||||||
|
public Task<(int created, int updated)> UpsertAsync(List<T> items);
|
||||||
|
public Task DeleteAsync(List<T> items);
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
namespace WyvernInventory.Core.Interfaces.Services;
|
||||||
|
|
||||||
|
public interface IDataObjectService<T>
|
||||||
|
{
|
||||||
|
public Task<List<T>> GetAsync(Predicate<T>? filter = null);
|
||||||
|
public Task<(int created, int updated)> UpsertAsync(List<T> items);
|
||||||
|
public Task DeleteAsync(List<T> items);
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
namespace WyvernInventory.Core.Models;
|
||||||
|
|
||||||
|
public record Computer() : GenericInventoryItem
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
namespace WyvernInventory.Core.Models;
|
||||||
|
|
||||||
|
public record Cpu() : GenericInventoryItem
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
namespace WyvernInventory.Core.Models;
|
||||||
|
|
||||||
|
public record GenericInventoryItem()
|
||||||
|
{
|
||||||
|
public int? Id { get; set; }
|
||||||
|
public string? Name { get; set; }
|
||||||
|
public string? Description { get; set; }
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
namespace WyvernInventory.Core.Models;
|
||||||
|
|
||||||
|
public record Gpu() : GenericInventoryItem
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
namespace WyvernInventory.Core.Models;
|
||||||
|
|
||||||
|
public record Router() : GenericInventoryItem
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
namespace WyvernInventory.Core.Models;
|
||||||
|
|
||||||
|
public record StorageDrive() : GenericInventoryItem
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
namespace WyvernInventory.Core.Models;
|
||||||
|
|
||||||
|
public record Switch() : GenericInventoryItem
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
<AssemblyName>WyvernInventory.Core</AssemblyName>
|
||||||
|
<RootNamespace>WyvernInventory.Core</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
using WyvernInventory.Core.Interfaces.Repos;
|
||||||
|
using WyvernInventory.Core.Models;
|
||||||
|
|
||||||
|
namespace WyvernInventory.Infrastructure.Repos;
|
||||||
|
|
||||||
|
public class GenericInventoryItemRepo : IDbObjectRepo<GenericInventoryItem>
|
||||||
|
{
|
||||||
|
private List<GenericInventoryItem> _genericItemList = [];
|
||||||
|
|
||||||
|
public async Task<List<GenericInventoryItem>> GetAsync(Predicate<GenericInventoryItem>? filter = null)
|
||||||
|
{
|
||||||
|
List<GenericInventoryItem> result = [];
|
||||||
|
|
||||||
|
if (filter is null) return _genericItemList;
|
||||||
|
|
||||||
|
result.AddRange(_genericItemList.Where(item => filter(item)));
|
||||||
|
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
public async Task<(int created, int updated)> UpsertAsync(List<GenericInventoryItem> items)
|
||||||
|
{
|
||||||
|
int created = 0;
|
||||||
|
int updated = 0;
|
||||||
|
foreach (var item in items)
|
||||||
|
{
|
||||||
|
if (item.Id is not null && _genericItemList.Any(_ => _.Id == item.Id))
|
||||||
|
{
|
||||||
|
int index = _genericItemList.IndexOf(_genericItemList.Find(_ => _.Id == item.Id));
|
||||||
|
_genericItemList[index] = item;
|
||||||
|
|
||||||
|
updated++;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
item.Id = _genericItemList.Count;
|
||||||
|
_genericItemList.Add(item);
|
||||||
|
|
||||||
|
created++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return (created, updated);
|
||||||
|
}
|
||||||
|
|
||||||
|
public async Task DeleteAsync(List<GenericInventoryItem> items)
|
||||||
|
{
|
||||||
|
foreach (var item in items)
|
||||||
|
{
|
||||||
|
_genericItemList.Remove(_genericItemList.Find(_ => _.Id == item.Id));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
using WyvernInventory.Core.Interfaces.Repos;
|
||||||
|
using WyvernInventory.Core.Interfaces.Services;
|
||||||
|
using WyvernInventory.Core.Models;
|
||||||
|
|
||||||
|
namespace WyvernInventory.Infrastructure.Services;
|
||||||
|
|
||||||
|
public class GenericInventoryItemService(IDbObjectRepo<GenericInventoryItem> dbRepo)
|
||||||
|
: IDataObjectService<GenericInventoryItem>
|
||||||
|
{
|
||||||
|
private readonly IDbObjectRepo<GenericInventoryItem> _dbRepo = dbRepo;
|
||||||
|
|
||||||
|
public async Task<List<GenericInventoryItem>> GetAsync(Predicate<GenericInventoryItem>? filter = null) => await _dbRepo.GetAsync(filter);
|
||||||
|
|
||||||
|
public async Task<(int created, int updated)> UpsertAsync(List<GenericInventoryItem> items) => await _dbRepo.UpsertAsync(items);
|
||||||
|
|
||||||
|
public async Task DeleteAsync(List<GenericInventoryItem> items) => await _dbRepo.DeleteAsync(items);
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\WyvernInventory.Core\WyvernInventory.Core.csproj" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WyvernInventory.API", "WyvernInventory.API\WyvernInventory.API.csproj", "{FDA9B08A-4443-4E6F-A3A4-C2B7E4650E90}"
|
||||||
|
EndProject
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{CE4BF34F-D890-4DCD-BF09-5CAC9C7BD706}"
|
||||||
|
ProjectSection(SolutionItems) = preProject
|
||||||
|
compose.yaml = compose.yaml
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WyvernInventory.Core", "WyvernInventory.Core\WyvernInventory.Core.csproj", "{CE9A8DB9-0746-4653-BBB1-27AC278C79AE}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WyvernInventory.Infrastructure", "WyvernInventory.Infrastructure\WyvernInventory.Infrastructure.csproj", "{D45E7747-B12D-4922-B1F8-75D6130D8ACF}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{FDA9B08A-4443-4E6F-A3A4-C2B7E4650E90}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{FDA9B08A-4443-4E6F-A3A4-C2B7E4650E90}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{FDA9B08A-4443-4E6F-A3A4-C2B7E4650E90}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{FDA9B08A-4443-4E6F-A3A4-C2B7E4650E90}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{CE9A8DB9-0746-4653-BBB1-27AC278C79AE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{CE9A8DB9-0746-4653-BBB1-27AC278C79AE}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{CE9A8DB9-0746-4653-BBB1-27AC278C79AE}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{CE9A8DB9-0746-4653-BBB1-27AC278C79AE}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{D45E7747-B12D-4922-B1F8-75D6130D8ACF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{D45E7747-B12D-4922-B1F8-75D6130D8ACF}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{D45E7747-B12D-4922-B1F8-75D6130D8ACF}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{D45E7747-B12D-4922-B1F8-75D6130D8ACF}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
services:
|
||||||
|
wyverninventory.api:
|
||||||
|
image: wyverninventory.api
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: WyvernInventory.API/Dockerfile
|
||||||
|
|
||||||
Reference in New Issue
Block a user