Compare commits
No commits in common. "9f6c9632be4657e79c8c7db12e884da780d606b7" and "3a8ddce394307b032175e0ca2fdab41af4458884" have entirely different histories.
9f6c9632be
...
3a8ddce394
|
@ -1,25 +0,0 @@
|
|||
**/.classpath
|
||||
**/.dockerignore
|
||||
**/.env
|
||||
**/.git
|
||||
**/.gitignore
|
||||
**/.project
|
||||
**/.settings
|
||||
**/.toolstarget
|
||||
**/.vs
|
||||
**/.vscode
|
||||
**/*.*proj.user
|
||||
**/*.dbmdl
|
||||
**/*.jfm
|
||||
**/azds.yaml
|
||||
**/bin
|
||||
**/charts
|
||||
**/docker-compose*
|
||||
**/Dockerfile*
|
||||
**/node_modules
|
||||
**/npm-debug.log
|
||||
**/obj
|
||||
**/secrets.dev.yaml
|
||||
**/values.dev.yaml
|
||||
LICENSE
|
||||
README.md
|
|
@ -362,6 +362,4 @@ MigrationBackup/
|
|||
# Fody - auto-generated XML schema
|
||||
FodyWeavers.xsd
|
||||
|
||||
*/**/appsettings.Development.json
|
||||
build.sh
|
||||
buildx.sh
|
||||
*/**/appsettings.Development.json
|
|
@ -12,7 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "solution items", "solution
|
|||
.gitattributes = .gitattributes
|
||||
.gitignore = .gitignore
|
||||
dependencies.props = dependencies.props
|
||||
Directory.Build.props = Directory.Build.props
|
||||
directory.build.props = directory.build.props
|
||||
LICENSE.txt = LICENSE.txt
|
||||
nuget.config = nuget.config
|
||||
README.md = README.md
|
||||
|
@ -30,9 +30,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Correo.Abstractions", "src\
|
|||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Correo.MailKit", "src\Correo.MailKit\Correo.MailKit.csproj", "{325B77E1-D752-4578-8BF7-793905C38DCD}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Correo.SendGrid", "src\Correo.SendGrid\Correo.SendGrid.csproj", "{1457426A-CD47-4201-BE3C-A40B38FCB1FA}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Correo.SendGrid", "src\Correo.SendGrid\Correo.SendGrid.csproj", "{1457426A-CD47-4201-BE3C-A40B38FCB1FA}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Correo.Mailgun", "src\Correo.Mailgun\Correo.Mailgun.csproj", "{78DC392D-B24A-43CA-B632-6124CD2C35B1}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Correo.Mailgun", "src\Correo.Mailgun\Correo.Mailgun.csproj", "{78DC392D-B24A-43CA-B632-6124CD2C35B1}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
|
||||
<DockerfileContext>..\..</DockerfileContext>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -1,38 +0,0 @@
|
|||
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim AS base
|
||||
WORKDIR /app
|
||||
EXPOSE 80
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim AS build
|
||||
WORKDIR /workspace
|
||||
COPY ["dependencies.props", "."]
|
||||
COPY ["Directory.Build.props", "."]
|
||||
COPY ["nuget.config", "."]
|
||||
COPY ["src/Correo/Correo.csproj", "src/Correo/"]
|
||||
COPY ["src/Correo.Application/Correo.Application.csproj", "src/Correo.Application/"]
|
||||
COPY ["src/Correo.Abstractions/Correo.Abstractions.csproj", "src/Correo.Abstractions/"]
|
||||
COPY ["src/Correo.Domain/Correo.Domain.csproj", "src/Correo.Domain/"]
|
||||
COPY ["src/Correo.PublishedLanguage/Correo.PublishedLanguage.csproj", "src/Correo.PublishedLanguage/"]
|
||||
COPY ["src/Correo.Mailgun/Correo.Mailgun.csproj", "src/Correo.Mailgun/"]
|
||||
COPY ["src/Correo.MailKit/Correo.MailKit.csproj", "src/Correo.MailKit/"]
|
||||
COPY ["src/Correo.NetSmtpClient/Correo.NetSmtpClient.csproj", "src/Correo.NetSmtpClient/"]
|
||||
COPY ["src/Correo.SendGrid/Correo.SendGrid.csproj", "src/Correo.SendGrid/"]
|
||||
RUN dotnet restore "src/Correo/Correo.csproj"
|
||||
COPY . .
|
||||
WORKDIR "/workspace/src/Correo"
|
||||
RUN dotnet build "Correo.csproj" -c Release -o /app/build
|
||||
|
||||
FROM build AS publish
|
||||
RUN dotnet publish "Correo.csproj" -c Release -o /app/publish /p:UseAppHost=false
|
||||
|
||||
FROM base AS final
|
||||
WORKDIR /app
|
||||
COPY --from=publish /app/publish .
|
||||
|
||||
ENV AUTHOR="Tudor Stanciu"
|
||||
ENV Urls="http://*:80"
|
||||
ARG APP_VERSION=0.0.0.0
|
||||
ENV APP_VERSION=${APP_VERSION}
|
||||
|
||||
ENTRYPOINT ["dotnet", "Correo.dll"]
|
|
@ -18,11 +18,11 @@
|
|||
"TopicPrefix": "HomeLab.",
|
||||
"Source": "Correo",
|
||||
"Nats": {
|
||||
"NatsUrl": "nats://<host>:4222",
|
||||
"Cluster": "<cluster>",
|
||||
"ClientId": "Correo",
|
||||
"QGroup": "Correo",
|
||||
"DurableName": "durable"
|
||||
"natsUrl": "nats://<host>:4222",
|
||||
"cluster": "<cluster>",
|
||||
"clientId": "Correo",
|
||||
"qGroup": "Correo",
|
||||
"durableName": "durable"
|
||||
}
|
||||
},
|
||||
"DefaultSender": {
|
||||
|
|
Loading…
Reference in New Issue