-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add docker support and docker-compose orchestration
- Loading branch information
Anton Georgiev
committed
Feb 13, 2022
1 parent
2ea2cde
commit aac3d50
Showing
160 changed files
with
4,063 additions
and
44 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
**/.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 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"Version": 1, | ||
"ProjectMap": { | ||
"8accd38f-7a09-4696-aa74-4f4888132e99": { | ||
"ProjectGuid": "8accd38f-7a09-4696-aa74-4f4888132e99", | ||
"DisplayName": "docker-compose", | ||
"ColorIndex": 0 | ||
}, | ||
"e86e5ace-d59e-422b-9195-3c7a14eb0939": { | ||
"ProjectGuid": "e86e5ace-d59e-422b-9195-3c7a14eb0939", | ||
"DisplayName": "ECommerce.Api.Search", | ||
"ColorIndex": 1 | ||
}, | ||
"1a9ffa4e-a7ac-4a8c-88a7-852b07cca7b4": { | ||
"ProjectGuid": "1a9ffa4e-a7ac-4a8c-88a7-852b07cca7b4", | ||
"DisplayName": "docker-compose", | ||
"ColorIndex": 2 | ||
}, | ||
"a2fe74e1-b743-11d0-ae1a-00a0c90fffc3": { | ||
"ProjectGuid": "a2fe74e1-b743-11d0-ae1a-00a0c90fffc3", | ||
"DisplayName": "Miscellaneous Files", | ||
"ColorIndex": -1 | ||
}, | ||
"2e8bfe59-44ba-45eb-89b0-6fd5963a2f8d": { | ||
"ProjectGuid": "2e8bfe59-44ba-45eb-89b0-6fd5963a2f8d", | ||
"DisplayName": "docker-compose", | ||
"ColorIndex": 3 | ||
} | ||
}, | ||
"NextColorIndex": 4 | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"Version": 1, | ||
"ProjectMap": { | ||
"b81e1306-62e5-4e73-a742-8f44fbdb8d5c": { | ||
"ProjectGuid": "b81e1306-62e5-4e73-a742-8f44fbdb8d5c", | ||
"DisplayName": "ECommerce.Api.Customers", | ||
"ColorIndex": 0 | ||
} | ||
}, | ||
"NextColorIndex": 1 | ||
} |
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
**/.dockerignore | ||
**/.env | ||
**/.git | ||
**/.gitignore | ||
**/.project | ||
**/.settings | ||
**/.toolstarget | ||
**/.vs | ||
**/.vscode | ||
**/.idea | ||
**/*.*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 |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base | ||
WORKDIR /app | ||
EXPOSE 80 | ||
EXPOSE 443 | ||
|
||
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build | ||
WORKDIR /src | ||
COPY ["ECommerce.Api.Customers/ECommerce.Api.Customers.csproj", "ECommerce.Api.Customers/"] | ||
RUN dotnet restore "ECommerce.Api.Customers/ECommerce.Api.Customers.csproj" | ||
COPY . . | ||
WORKDIR "/src/ECommerce.Api.Customers" | ||
RUN dotnet build "ECommerce.Api.Customers.csproj" -c Release -o /app/build | ||
|
||
FROM build AS publish | ||
RUN dotnet publish "ECommerce.Api.Customers.csproj" -c Release -o /app/publish | ||
|
||
FROM base AS final | ||
WORKDIR /app | ||
COPY --from=publish /app/publish . | ||
ENTRYPOINT ["dotnet", "ECommerce.Api.Customers.dll"] |
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
Binary file modified
BIN
+0 Bytes
(100%)
ECommerce.Api.Customers/bin/Debug/net6.0/ECommerce.Api.Customers.dll
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
ECommerce.Api.Customers/bin/Debug/net6.0/ECommerce.Api.Customers.exe
Binary file not shown.
Binary file modified
BIN
-36 Bytes
(100%)
ECommerce.Api.Customers/bin/Debug/net6.0/ECommerce.Api.Customers.pdb
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
ECommerce.Api.Customers/bin/Debug/net6.0/ref/ECommerce.Api.Customers.dll
Binary file not shown.
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
2 changes: 1 addition & 1 deletion
2
ECommerce.Api.Customers/obj/Debug/net6.0/ECommerce.Api.Customers.AssemblyInfoInputs.cache
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 +1 @@ | ||
21490136e7136bb4aca92ee237a815610d5ab7e6 | ||
c2dd58a1b2f2ee7ce0890905c624881e34da7fff |
1 change: 1 addition & 0 deletions
1
...Api.Customers/obj/Debug/net6.0/ECommerce.Api.Customers.MvcApplicationPartsAssemblyInfo.cs
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
Binary file modified
BIN
+58 Bytes
(100%)
ECommerce.Api.Customers/obj/Debug/net6.0/ECommerce.Api.Customers.assets.cache
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
...rce.Api.Customers/obj/Debug/net6.0/ECommerce.Api.Customers.csproj.CoreCompileInputs.cache
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 +1 @@ | ||
fc4f14c3d5ebcb5c65bc97a6b2ecc7914707eca0 | ||
de576faf5ef13175e23b96e200ac578a32d3ef30 |
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
Binary file modified
BIN
+0 Bytes
(100%)
ECommerce.Api.Customers/obj/Debug/net6.0/ECommerce.Api.Customers.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
ECommerce.Api.Customers/obj/Debug/net6.0/ECommerce.Api.Customers.genruntimeconfig.cache
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 +1 @@ | ||
b3303c42af9a472b998064a2faa613b2326d0cf5 | ||
e1cb4f9f5a6246db90b795a7cdcffcaabd7af25d |
Binary file modified
BIN
-36 Bytes
(100%)
ECommerce.Api.Customers/obj/Debug/net6.0/ECommerce.Api.Customers.pdb
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
ECommerce.Api.Customers/obj/Debug/net6.0/ref/ECommerce.Api.Customers.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
ECommerce.Api.Customers/obj/Debug/net6.0/staticwebassets.build.json
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
Oops, something went wrong.