Feat: dockerize the project with Dockerfile and docker-compose

- Added Dockerfile for containerizing the app.
- Created docker-compose.yml for managing services.
- Updated connection strings for Docker compatibility.
This commit is contained in:
2025-03-13 08:50:35 -07:00
parent b9036d8b7a
commit 61f06e474f
160 changed files with 7001 additions and 81 deletions

30
.dockerignore Normal file
View File

@@ -0,0 +1,30 @@
**/.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
!**/.gitignore
!.git/HEAD
!.git/config
!.git/packed-refs
!.git/refs/heads/**

BIN
bin/Debug/AutoMapper.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
bin/Debug/Npgsql.dll Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,8 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
}
}

View File

@@ -0,0 +1,11 @@
{
"Jwt": {
"Key": "YourSuperSecretKeyYourSuperSecretKey",
"Issuer": "YourIssuer",
"Audience": "YourAudience"
},
"AllowedHosts": "*",
"ConnectionStrings": {
"DefaultConnection": "Host=localhost;Database=SurveyBeta;Username=postgres;Password=MAJEDali645"
}
}

5
bin/Debug/libman.json Normal file
View File

@@ -0,0 +1,5 @@
{
"version": "1.0",
"defaultProvider": "cdnjs",
"libraries": []
}

File diff suppressed because it is too large Load Diff

BIN
bin/Debug/survey-beta.dll Normal file

Binary file not shown.

BIN
bin/Debug/survey-beta.exe Normal file

Binary file not shown.

BIN
bin/Debug/survey-beta.pdb Normal file

Binary file not shown.

View File

@@ -0,0 +1,20 @@
{
"runtimeOptions": {
"tfm": "net8.0",
"frameworks": [
{
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
{
"name": "Microsoft.AspNetCore.App",
"version": "8.0.0"
}
],
"configProperties": {
"System.GC.Server": true,
"System.Reflection.NullabilityInfoContext.IsSupported": true,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}

19
docker-compose.dcproj Normal file
View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" Sdk="Microsoft.Docker.Sdk">
<PropertyGroup Label="Globals">
<ProjectVersion>2.1</ProjectVersion>
<DockerTargetOS>Linux</DockerTargetOS>
<DockerPublishLocally>False</DockerPublishLocally>
<ProjectGuid>23a4deed-83a9-433b-bc1e-b7d95cc9f973</ProjectGuid>
<DockerLaunchAction>LaunchBrowser</DockerLaunchAction>
<DockerServiceUrl>{Scheme}://localhost:{ServicePort}/weatherforecast</DockerServiceUrl>
<DockerServiceName>survey-beta</DockerServiceName>
</PropertyGroup>
<ItemGroup>
<None Include="docker-compose.override.yml">
<DependentUpon>docker-compose.yml</DependentUpon>
</None>
<None Include="docker-compose.yml" />
<None Include=".dockerignore" />
</ItemGroup>
</Project>

32
docker-compose.yml Normal file
View File

@@ -0,0 +1,32 @@
version: '3.4'
services:
db:
image: postgres:latest
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_USER: postgres
POSTGRES_PASSWORD: MAJEDali645
ports:
- "5432:5432"
volumes:
- db_data:/var/lib/postgresql/data
survey-beta:
image: surveybeta
build:
context: .
dockerfile: survey-beta/Dockerfile
depends_on:
- db
environment:
- ASPNETCORE_ENVIRONMENT=Development
- ConnectionStrings__DefaultConnection=Host=db;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
ports:
- "8080:80"
volumes:
- .:/app
entrypoint: ["dotnet", "survey-beta.dll"]
volumes:
db_data:

11
launchSettings.json Normal file
View File

@@ -0,0 +1,11 @@
{
"profiles": {
"Docker Compose": {
"commandName": "DockerCompose",
"commandVersion": "1.0",
"serviceActions": {
"survey-beta": "StartDebugging"
}
}
}
}

View File

View File

@@ -0,0 +1 @@
8e7a481b7ff085acad028c2d40eadc88a8188b7b65822c5f23acf7d7e4c34f31

View File

@@ -0,0 +1,41 @@
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\survey-beta.deps.json
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\survey-beta.runtimeconfig.json
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\appsettings.Development.json
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\appsettings.json
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\libman.json
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\survey-beta.exe
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\survey-beta.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\AutoMapper.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Swashbuckle.AspNetCore.SwaggerGen.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Microsoft.OpenApi.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Microsoft.EntityFrameworkCore.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Microsoft.AspNetCore.Authentication.JwtBearer.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Microsoft.Extensions.Configuration.Abstractions.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Microsoft.IdentityModel.Tokens.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\System.IdentityModel.Tokens.Jwt.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Microsoft.EntityFrameworkCore.Relational.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Microsoft.AspNetCore.Identity.EntityFrameworkCore.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Microsoft.Extensions.DependencyInjection.Abstractions.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\AutoMapper.Extensions.Microsoft.DependencyInjection.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Swashbuckle.AspNetCore.Swagger.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Swashbuckle.AspNetCore.SwaggerUI.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Npgsql.EntityFrameworkCore.PostgreSQL.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Microsoft.EntityFrameworkCore.Abstractions.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Microsoft.Extensions.Options.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Microsoft.Extensions.Logging.Abstractions.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Microsoft.Extensions.Caching.Abstractions.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\System.Diagnostics.DiagnosticSource.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Microsoft.Extensions.DependencyInjection.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Microsoft.Extensions.Logging.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Microsoft.Extensions.Caching.Memory.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Microsoft.Extensions.Primitives.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Microsoft.IdentityModel.JsonWebTokens.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Microsoft.IdentityModel.Protocols.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Microsoft.IdentityModel.Logging.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Microsoft.IdentityModel.Abstractions.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\Npgsql.dll
C:\Users\alioa\Source\Repos\survey-beta2\bin\Debug\survey-beta.pdb
C:\Users\alioa\Source\Repos\survey-beta2\obj\Debug\docker-compose.dcproj.AssemblyReference.cache
C:\Users\alioa\Source\Repos\survey-beta2\obj\Debug\docker-compose.dcproj.CoreCompileInputs.cache
C:\Users\alioa\Source\Repos\survey-beta2\obj\Debug\docker-c.35A3FFBA.Up2Date

View File

@@ -0,0 +1,34 @@
1ztrEGgddmE0ttaULhDc+DkdYQwPgZtxNob+0LLX++U=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose.cache
mtinT1uAceNBopdHBMcAYSNkMquqKwO7tJe6SJ4C+/s=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose1.cache
MyXly4cqhhrRWSxP/IWGqS+Y8n8exk1mGtulO25S+bw=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose2.cache
DoS25J3kXA0O4rZs6AJRTVYPsiUYNxszcOG3l9UpdLA=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose3.cache
WBdsM6sCgq71et4mGVX2G1qsyzGvp42t9Iw+9Hcicc0=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose4.cache
wquNIeiPoHT+mznK8HTvwuiNbCOECf6nhGonZzF6Oc4=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose5.cache
6M/cjGMIgsQuRqaFRhxq6NN7M8lofTProQqRyDSF9os=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose6.cache
hE/g7kutWpb8cA+kVsHHvLnk6GXc6Z6kNE0SumbkQG8=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose7.cache
BygW0EZyN2v5P4M81TJsEcr+mD6BuEbp4dAK0mA8Iog=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose9.cache
6n54ZlbWGLj+XEGfOMFYPlzg+a6qcU5g0uKCJweA/4U=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose10.cache
4MNqWPLIX6RNVXgunWyltEpoRyUETV/rfyZsDYO5tbM=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose12.cache
vHCGCEs1Xd9/6ypKZNpzbw5XUtrrfRA0KarEdtjSw/0=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose13.cache
KDIalsai+nZ3YdiUio5gV+jQKxKu4TIt89W2fWKNquI=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose14.cache
kJ3Mnr9r5lt0D4LTlPQzpGgUipTMryQtrYOPQGZm3nM=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose15.cache
upQRmvp+xYZIv/2EIwPKhB7KgMPnL9Uy69AkTV0YlAM=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose16.cache
cu/J/BSOEUn4s0TpZ0jBUWuw2BXdSm10iW9E3fG6vCw=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose17.cache
ia0bo3wHzew6t3jo74UbkGwwJEfPN3i2RWCa9fGChRs=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose18.cache
8kn2v7xfjpKGf4IoTgOsBNCZDNjlCAMfx0SYyBhmWjE=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose19.cache
oi1mSLgBHpzo8cAkKewGxnvYOwen64HHa6+SrgcRp1E=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose20.cache
AV2ads4dGd947us/dKi1oUtG1tWOWlYUnmXZ23ZS7Zs=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose21.cache
XIgKsY2r9/mS4rN2xP5DXkN4j79vctNxyymE3RH0o7k=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose22.cache
wB3V2l1in8oXNemGKVrJ4CML3kxYULB1Po9/A8auZQ0=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose23.cache
1peZZmUq9AFp/fuL6KujJREdrLTiu8/RhyYrfr5oCEA=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose24.cache
9tN9b3jw/3VerNIX5ZQoHGViRz+RE6oFumdoc3xLQGk=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose25.cache
tPo+A0va2+zuatPxF2SDePDg9wIZt3wTTUvzn/Ll8a4=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose26.cache
pDZNnOSk0MUttt+Wto1AbazztbG49eBZHQWD+/Kw+IY=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose27.cache
ZJ6sQHRpv9ShXQ1pc3nzD2pdMtZDlRmf4YaBIjSpGPk=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose28.cache
x+f3QQAvjiQmWCAkl2VZ/usZVLMPiNE6mbOlaVwAH2Y=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose30.cache
rir5BhLX9kZJbiz3Gh0oaUixdwIb2PA8HWsk2pI8E+Y=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose31.cache
V0HeXBl6rv6mecHTMmZl2bt3+suwV0Ckc3tJx/RYCBw=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose33.cache
AAyQwFSqdHT63t2NOCp2On5QNdYbpSiFypxXNkrs3ws=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose34.cache
7AnPPuEIFhyLBqGv5hmU/EY3dcnM7bOrioR7rkRBK+8=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose35.cache
ETt6V2sMABBz5dxjE/opA+W3dLtjSCiW+ELks/5bA68=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose36.cache
jSzr+mgr0XMQBZN5NtChI2S2BYgK68z+D3KBGO++mS4=>C:\Users\alioa\Source\Repos\survey-beta2\obj\Docker\MergedDockerCompose37.cache

View File

@@ -0,0 +1 @@
[{"ContainerToolsException.ErrorCode":"","ContainerToolsException.HResult":"-2146233088"}]

View File

View File

@@ -0,0 +1 @@
Fast

View File

@@ -0,0 +1 @@
hs41PExXNlKjlGPJxqoD2qg3/gE36PatiSSnQbNmCv2O4LiZC8D6/sAQqvIyreDW3C2DF0ZtAwrNfnzxsysfEg==

View File

@@ -0,0 +1 @@
Debug

View File

@@ -0,0 +1,36 @@
name: dockercompose6909980062609839317
services:
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta\Dockerfile
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
image: surveybeta
networks:
default: null
ports:
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming/Microsoft/UserSecrets
target: C:\Users\ContainerUser\AppData\Roaming\Microsoft\UserSecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/ASP.NET/Https
target: C:\Users\ContainerUser\AppData\Roaming\ASP.NET\Https
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default

View File

@@ -0,0 +1,36 @@
name: dockercompose6909980062609839317
services:
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
image: surveybeta
networks:
default: null
ports:
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming/Microsoft/UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/ASP.NET/Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default

View File

@@ -0,0 +1,147 @@
name: dockercompose6909980062609839317
services:
db:
container_name: survey_db
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
healthcheck:
test:
- CMD-SHELL
- pg_isready -U postgres
timeout: 5s
interval: 10s
retries: 5
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: postgres_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
args:
BUILD_CONFIGURATION: Debug
LAUNCHING_FROM_VS: "true"
labels:
com.microsoft.created-by: visual-studio
com.microsoft.visual-studio.project-name: survey-beta
target: base
container_name: survey_backend
depends_on:
db:
condition: service_started
required: true
entrypoint:
- dotnet
- --roll-forward
- Major
- /VSTools/DistrolessHelper/DistrolessHelper.dll
- --wait
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ASPNETCORE_LOGGING__CONSOLE__DISABLECOLORS: "true"
ConnectionStrings__DefaultConnection: Host=db;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
DOTNET_USE_POLLING_FILE_WATCHER: "1"
NUGET_FALLBACK_PACKAGES: ""
image: surveybeta:dev
labels:
com.microsoft.visualstudio.debuggee.arguments: ' --additionalProbingPath /.nuget/packages "/app/bin/Debug/net8.0/survey-beta.dll"'
com.microsoft.visualstudio.debuggee.killprogram: dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet
com.microsoft.visualstudio.debuggee.program: dotnet
com.microsoft.visualstudio.debuggee.workingdirectory: /app
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
tty: true
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2\survey-beta
target: /app
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2
target: /src
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\vsdbg\vs2017u5
target: /remote_debugger
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\.nuget\packages
target: /.nuget/packages
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /root/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /root/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0
target: /VSTools
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload
target: /HotReloadAgent
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
postgres_data:
name: dockercompose6909980062609839317_postgres_data

View File

@@ -0,0 +1,84 @@
name: dockercompose6909980062609839317
services:
db:
container_name: survey_db
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
healthcheck:
test:
- CMD-SHELL
- pg_isready -U postgres
timeout: 5s
interval: 10s
retries: 5
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: postgres_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
container_name: survey_backend
depends_on:
db:
condition: service_healthy
required: true
entrypoint:
- sh
- -c
- dotnet ef database update && dotnet survey-beta.dll
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ConnectionStrings__DefaultConnection: Host=db;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
image: surveybeta
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming/Microsoft/UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/ASP.NET/Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
postgres_data:
name: dockercompose6909980062609839317_postgres_data

View File

@@ -0,0 +1,84 @@
name: dockercompose6909980062609839317
services:
db:
container_name: survey_db
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
healthcheck:
test:
- CMD-SHELL
- pg_isready -U postgres
timeout: 5s
interval: 10s
retries: 5
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: postgres_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
container_name: survey_backend
depends_on:
db:
condition: service_healthy
required: true
entrypoint:
- sh
- -c
- dotnet ef database update && dotnet survey-beta.dll
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ConnectionStrings__DefaultConnection: Host=db;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
image: surveybeta
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming/Microsoft/UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/ASP.NET/Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
postgres_data:
name: dockercompose6909980062609839317_postgres_data

View File

@@ -0,0 +1,147 @@
name: dockercompose6909980062609839317
services:
db:
container_name: survey_db
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
healthcheck:
test:
- CMD-SHELL
- pg_isready -U postgres
timeout: 5s
interval: 10s
retries: 5
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: postgres_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
args:
BUILD_CONFIGURATION: Debug
LAUNCHING_FROM_VS: "true"
labels:
com.microsoft.created-by: visual-studio
com.microsoft.visual-studio.project-name: survey-beta
target: base
container_name: survey_backend
depends_on:
db:
condition: service_healthy
required: true
entrypoint:
- dotnet
- --roll-forward
- Major
- /VSTools/DistrolessHelper/DistrolessHelper.dll
- --wait
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ASPNETCORE_LOGGING__CONSOLE__DISABLECOLORS: "true"
ConnectionStrings__DefaultConnection: Host=db;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
DOTNET_USE_POLLING_FILE_WATCHER: "1"
NUGET_FALLBACK_PACKAGES: ""
image: surveybeta:dev
labels:
com.microsoft.visualstudio.debuggee.arguments: ' --additionalProbingPath /.nuget/packages "/app/bin/Debug/net8.0/survey-beta.dll"'
com.microsoft.visualstudio.debuggee.killprogram: dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet
com.microsoft.visualstudio.debuggee.program: dotnet
com.microsoft.visualstudio.debuggee.workingdirectory: /app
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
tty: true
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2\survey-beta
target: /app
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2
target: /src
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\vsdbg\vs2017u5
target: /remote_debugger
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\.nuget\packages
target: /.nuget/packages
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /root/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /root/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0
target: /VSTools
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload
target: /HotReloadAgent
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
postgres_data:
name: dockercompose6909980062609839317_postgres_data

View File

@@ -0,0 +1,128 @@
name: dockercompose6909980062609839317
services:
db:
container_name: survey_db
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
healthcheck:
test:
- CMD-SHELL
- pg_isready -U postgres
timeout: 5s
interval: 10s
retries: 5
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: postgres_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
args:
BUILD_CONFIGURATION: Debug
LAUNCHING_FROM_VS: "true"
labels:
com.microsoft.created-by: visual-studio
com.microsoft.visual-studio.project-name: survey-beta
container_name: survey_backend
depends_on:
db:
condition: service_started
required: true
entrypoint:
- dotnet
- --roll-forward
- Major
- /VSTools/DistrolessHelper/DistrolessHelper.dll
- --wait
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ConnectionStrings__DefaultConnection: Host=db;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
image: surveybeta
labels:
com.microsoft.visual-studio.project-name: survey-beta
com.microsoft.visualstudio.debuggee.arguments: ' --additionalProbingPath /.nuget/packages "/app/survey-beta.dll"'
com.microsoft.visualstudio.debuggee.killprogram: dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet
com.microsoft.visualstudio.debuggee.program: dotnet
com.microsoft.visualstudio.debuggee.workingdirectory: /app
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
tty: true
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\vsdbg\vs2017u5
target: /remote_debugger
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /root/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /root/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0
target: /VSTools
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload
target: /HotReloadAgent
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
postgres_data:
name: dockercompose6909980062609839317_postgres_data

View File

@@ -0,0 +1,80 @@
name: dockercompose6909980062609839317
services:
db:
container_name: survey_db
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
healthcheck:
test:
- CMD-SHELL
- pg_isready -U postgres
timeout: 5s
interval: 10s
retries: 5
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: postgres_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
container_name: survey_backend
depends_on:
db:
condition: service_started
required: true
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ConnectionStrings__DefaultConnection: Host=localhost;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
image: surveybeta
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming/Microsoft/UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/ASP.NET/Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
postgres_data:
name: dockercompose6909980062609839317_postgres_data

View File

@@ -0,0 +1,147 @@
name: dockercompose6909980062609839317
services:
db:
container_name: survey_db
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
healthcheck:
test:
- CMD-SHELL
- pg_isready -U postgres
timeout: 5s
interval: 10s
retries: 5
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: postgres_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
args:
BUILD_CONFIGURATION: Debug
LAUNCHING_FROM_VS: "true"
labels:
com.microsoft.created-by: visual-studio
com.microsoft.visual-studio.project-name: survey-beta
target: base
container_name: survey_backend
depends_on:
db:
condition: service_started
required: true
entrypoint:
- dotnet
- --roll-forward
- Major
- /VSTools/DistrolessHelper/DistrolessHelper.dll
- --wait
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ASPNETCORE_LOGGING__CONSOLE__DISABLECOLORS: "true"
ConnectionStrings__DefaultConnection: Host=localhost;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
DOTNET_USE_POLLING_FILE_WATCHER: "1"
NUGET_FALLBACK_PACKAGES: ""
image: surveybeta:dev
labels:
com.microsoft.visualstudio.debuggee.arguments: ' --additionalProbingPath /.nuget/packages "/app/bin/Debug/net8.0/survey-beta.dll"'
com.microsoft.visualstudio.debuggee.killprogram: dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet
com.microsoft.visualstudio.debuggee.program: dotnet
com.microsoft.visualstudio.debuggee.workingdirectory: /app
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
tty: true
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2\survey-beta
target: /app
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2
target: /src
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\vsdbg\vs2017u5
target: /remote_debugger
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\.nuget\packages
target: /.nuget/packages
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /root/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /root/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0
target: /VSTools
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload
target: /HotReloadAgent
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
postgres_data:
name: dockercompose6909980062609839317_postgres_data

View File

@@ -0,0 +1,80 @@
name: dockercompose6909980062609839317
services:
db:
container_name: survey_db
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
healthcheck:
test:
- CMD-SHELL
- pg_isready -U postgres
timeout: 5s
interval: 10s
retries: 5
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: postgres_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
container_name: survey_backend
depends_on:
db:
condition: service_started
required: true
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ConnectionStrings__DefaultConnection: Host=postgresql;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
image: surveybeta
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming/Microsoft/UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/ASP.NET/Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
postgres_data:
name: dockercompose6909980062609839317_postgres_data

View File

@@ -0,0 +1,80 @@
name: dockercompose6909980062609839317
services:
db:
container_name: survey_db
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
healthcheck:
test:
- CMD-SHELL
- pg_isready -U postgres
timeout: 5s
interval: 10s
retries: 5
image: postgres:latest
networks:
survey-network: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: postgres_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta2/Dockerfile
container_name: survey_backend
depends_on:
db:
condition: service_started
required: true
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ConnectionStrings__DefaultConnection: Host=db;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
networks:
survey-network: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming/Microsoft/UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/ASP.NET/Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
networks:
survey-network:
name: dockercompose6909980062609839317_survey-network
driver: bridge
volumes:
postgres_data:
name: dockercompose6909980062609839317_postgres_data

View File

@@ -0,0 +1,140 @@
name: dockercompose6909980062609839317
services:
db:
container_name: survey_db
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
healthcheck:
test:
- CMD-SHELL
- pg_isready -U postgres
timeout: 5s
interval: 10s
retries: 5
image: postgres:latest
networks:
survey-network: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: postgres_data
target: /var/lib/postgresql/data
volume: {}
survey-backend:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
container_name: survey_backend
depends_on:
db:
condition: service_started
required: true
environment:
ASPNETCORE_ENVIRONMENT: Development
ConnectionStrings__DefaultConnection: Host=db;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
image: surveybeta
networks:
survey-network: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: Dockerfile
args:
BUILD_CONFIGURATION: Debug
LAUNCHING_FROM_VS: "true"
labels:
com.microsoft.created-by: visual-studio
com.microsoft.visual-studio.project-name: survey-beta
entrypoint:
- dotnet
- --roll-forward
- Major
- /VSTools/DistrolessHelper/DistrolessHelper.dll
- --wait
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
labels:
com.microsoft.visual-studio.project-name: survey-beta
com.microsoft.visualstudio.debuggee.arguments: ' --additionalProbingPath /.nuget/packages "/app/survey-beta.dll"'
com.microsoft.visualstudio.debuggee.killprogram: dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet
com.microsoft.visualstudio.debuggee.program: dotnet
com.microsoft.visualstudio.debuggee.workingdirectory: /app
networks:
default: null
ports:
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
tty: true
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\vsdbg\vs2017u5
target: /remote_debugger
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /root/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /root/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0
target: /VSTools
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload
target: /HotReloadAgent
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
survey-network:
name: dockercompose6909980062609839317_survey-network
driver: bridge
volumes:
postgres_data:
name: dockercompose6909980062609839317_postgres_data

View File

@@ -0,0 +1,104 @@
name: dockercompose6909980062609839317
services:
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
args:
BUILD_CONFIGURATION: Debug
LAUNCHING_FROM_VS: "true"
labels:
com.microsoft.created-by: visual-studio
com.microsoft.visual-studio.project-name: survey-beta
target: base
container_name: survey-beta
entrypoint:
- dotnet
- --roll-forward
- Major
- /VSTools/DistrolessHelper/DistrolessHelper.dll
- --wait
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ASPNETCORE_LOGGING__CONSOLE__DISABLECOLORS: "true"
DOTNET_USE_POLLING_FILE_WATCHER: "1"
NUGET_FALLBACK_PACKAGES: ""
image: surveybeta:dev
labels:
com.microsoft.visualstudio.debuggee.arguments: ' --additionalProbingPath /.nuget/packages "/app/bin/Debug/net8.0/survey-beta.dll"'
com.microsoft.visualstudio.debuggee.killprogram: dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet
com.microsoft.visualstudio.debuggee.program: dotnet
com.microsoft.visualstudio.debuggee.workingdirectory: /app
networks:
default: null
ports:
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
tty: true
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2\survey-beta
target: /app
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2
target: /src
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\vsdbg\vs2017u5
target: /remote_debugger
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\.nuget\packages
target: /.nuget/packages
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /root/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /root/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0
target: /VSTools
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload
target: /HotReloadAgent
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default

View File

@@ -0,0 +1,160 @@
name: dockercompose6909980062609839317
services:
db:
container_name: survey_db
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
healthcheck:
test:
- CMD-SHELL
- pg_isready -U postgres
timeout: 5s
interval: 10s
retries: 5
image: postgres:latest
networks:
survey-network: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: postgres_data
target: /var/lib/postgresql/data
volume: {}
survey-backend:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
container_name: survey_backend
depends_on:
db:
condition: service_started
required: true
environment:
ASPNETCORE_ENVIRONMENT: Development
ConnectionStrings__DefaultConnection: Host=db;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
image: surveybeta
networks:
survey-network: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: Dockerfile
args:
BUILD_CONFIGURATION: Debug
LAUNCHING_FROM_VS: "true"
labels:
com.microsoft.created-by: visual-studio
com.microsoft.visual-studio.project-name: survey-beta
target: base
entrypoint:
- dotnet
- --roll-forward
- Major
- /VSTools/DistrolessHelper/DistrolessHelper.dll
- --wait
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ASPNETCORE_LOGGING__CONSOLE__DISABLECOLORS: "true"
DOTNET_USE_POLLING_FILE_WATCHER: "1"
NUGET_FALLBACK_PACKAGES: ""
image: surveybeta:dev
labels:
com.microsoft.visualstudio.debuggee.arguments: ' --additionalProbingPath /.nuget/packages "/app/bin/Debug/net8.0/survey-beta.dll"'
com.microsoft.visualstudio.debuggee.killprogram: dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet
com.microsoft.visualstudio.debuggee.program: dotnet
com.microsoft.visualstudio.debuggee.workingdirectory: /app
networks:
default: null
ports:
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
tty: true
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2\survey-beta
target: /app
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2
target: /src
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\vsdbg\vs2017u5
target: /remote_debugger
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\.nuget\packages
target: /.nuget/packages
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /root/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /root/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0
target: /VSTools
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload
target: /HotReloadAgent
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
survey-network:
name: dockercompose6909980062609839317_survey-network
driver: bridge
volumes:
postgres_data:
name: dockercompose6909980062609839317_postgres_data

View File

@@ -0,0 +1,84 @@
name: dockercompose6909980062609839317
services:
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
args:
BUILD_CONFIGURATION: Debug
LAUNCHING_FROM_VS: "true"
labels:
com.microsoft.created-by: visual-studio
com.microsoft.visual-studio.project-name: survey-beta
entrypoint:
- dotnet
- --roll-forward
- Major
- /VSTools/DistrolessHelper/DistrolessHelper.dll
- --wait
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
image: surveybeta
labels:
com.microsoft.visual-studio.project-name: survey-beta
com.microsoft.visualstudio.debuggee.arguments: ' --additionalProbingPath /.nuget/packages "/app/survey-beta.dll"'
com.microsoft.visualstudio.debuggee.killprogram: dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet
com.microsoft.visualstudio.debuggee.program: dotnet
com.microsoft.visualstudio.debuggee.workingdirectory: /app
networks:
default: null
ports:
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
tty: true
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\vsdbg\vs2017u5
target: /remote_debugger
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /root/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /root/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0
target: /VSTools
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload
target: /HotReloadAgent
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default

View File

@@ -0,0 +1,103 @@
name: dockercompose6909980062609839317
services:
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
args:
BUILD_CONFIGURATION: Debug
LAUNCHING_FROM_VS: "true"
labels:
com.microsoft.created-by: visual-studio
com.microsoft.visual-studio.project-name: survey-beta
target: base
entrypoint:
- dotnet
- --roll-forward
- Major
- /VSTools/DistrolessHelper/DistrolessHelper.dll
- --wait
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ASPNETCORE_LOGGING__CONSOLE__DISABLECOLORS: "true"
DOTNET_USE_POLLING_FILE_WATCHER: "1"
NUGET_FALLBACK_PACKAGES: ""
image: surveybeta:dev
labels:
com.microsoft.visualstudio.debuggee.arguments: ' --additionalProbingPath /.nuget/packages "/app/bin/Debug/net8.0/survey-beta.dll"'
com.microsoft.visualstudio.debuggee.killprogram: dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet
com.microsoft.visualstudio.debuggee.program: dotnet
com.microsoft.visualstudio.debuggee.workingdirectory: /app
networks:
default: null
ports:
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
tty: true
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2\survey-beta
target: /app
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2
target: /src
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\vsdbg\vs2017u5
target: /remote_debugger
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\.nuget\packages
target: /.nuget/packages
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /root/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /root/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0
target: /VSTools
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload
target: /HotReloadAgent
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default

View File

@@ -0,0 +1,70 @@
name: dockercompose6909980062609839317
services:
db:
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: postgres_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
depends_on:
db:
condition: service_started
required: true
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
image: surveybeta
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming/Microsoft/UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/ASP.NET/Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
postgres_data:
name: dockercompose6909980062609839317_postgres_data

View File

@@ -0,0 +1,138 @@
name: dockercompose6909980062609839317
services:
db:
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: postgres_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
args:
BUILD_CONFIGURATION: Debug
LAUNCHING_FROM_VS: "true"
labels:
com.microsoft.created-by: visual-studio
com.microsoft.visual-studio.project-name: survey-beta
target: base
container_name: survey-beta
depends_on:
db:
condition: service_started
required: true
entrypoint:
- dotnet
- --roll-forward
- Major
- /VSTools/DistrolessHelper/DistrolessHelper.dll
- --wait
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ASPNETCORE_LOGGING__CONSOLE__DISABLECOLORS: "true"
DOTNET_USE_POLLING_FILE_WATCHER: "1"
NUGET_FALLBACK_PACKAGES: ""
image: surveybeta:dev
labels:
com.microsoft.visualstudio.debuggee.arguments: ' --additionalProbingPath /.nuget/packages "/app/bin/Debug/net8.0/survey-beta.dll"'
com.microsoft.visualstudio.debuggee.killprogram: dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet
com.microsoft.visualstudio.debuggee.program: dotnet
com.microsoft.visualstudio.debuggee.workingdirectory: /app
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
tty: true
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2\survey-beta
target: /app
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2
target: /src
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\vsdbg\vs2017u5
target: /remote_debugger
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\.nuget\packages
target: /.nuget/packages
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /root/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /root/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0
target: /VSTools
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload
target: /HotReloadAgent
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
postgres_data:
name: dockercompose6909980062609839317_postgres_data

View File

@@ -0,0 +1,79 @@
name: dockercompose6909980062609839317
services:
db:
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: db_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
depends_on:
db:
condition: service_started
required: true
entrypoint:
- dotnet
- survey-beta.dll
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ConnectionStrings__DefaultConnection: Host=db;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
image: surveybeta
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
volumes:
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2
target: /app
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/Microsoft/UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/ASP.NET/Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
db_data:
name: dockercompose6909980062609839317_db_data

View File

@@ -0,0 +1,139 @@
name: dockercompose6909980062609839317
services:
db:
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: db_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
args:
BUILD_CONFIGURATION: Debug
LAUNCHING_FROM_VS: "true"
labels:
com.microsoft.created-by: visual-studio
com.microsoft.visual-studio.project-name: survey-beta
target: base
container_name: survey-beta
depends_on:
db:
condition: service_started
required: true
entrypoint:
- dotnet
- --roll-forward
- Major
- /VSTools/DistrolessHelper/DistrolessHelper.dll
- --wait
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ASPNETCORE_LOGGING__CONSOLE__DISABLECOLORS: "true"
ConnectionStrings__DefaultConnection: Host=db;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
DOTNET_USE_POLLING_FILE_WATCHER: "1"
NUGET_FALLBACK_PACKAGES: ""
image: surveybeta:dev
labels:
com.microsoft.visualstudio.debuggee.arguments: ' --additionalProbingPath /.nuget/packages "/app/bin/Debug/net8.0/survey-beta.dll"'
com.microsoft.visualstudio.debuggee.killprogram: dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet
com.microsoft.visualstudio.debuggee.program: dotnet
com.microsoft.visualstudio.debuggee.workingdirectory: /app
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
tty: true
volumes:
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2\survey-beta
target: /app
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2
target: /src
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\vsdbg\vs2017u5
target: /remote_debugger
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\.nuget\packages
target: /.nuget/packages
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /root/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /root/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0
target: /VSTools
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload
target: /HotReloadAgent
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
db_data:
name: dockercompose6909980062609839317_db_data

View File

@@ -0,0 +1,79 @@
name: dockercompose6909980062609839317
services:
db:
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: db_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
depends_on:
db:
condition: service_started
required: true
entrypoint:
- dotnet
- survey-beta.dll
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ConnectionStrings__DefaultConnection: Host=db-1;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
image: surveybeta
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
volumes:
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2
target: /app
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/Microsoft/UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/ASP.NET/Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
db_data:
name: dockercompose6909980062609839317_db_data

View File

@@ -0,0 +1,139 @@
name: dockercompose6909980062609839317
services:
db:
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: db_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
args:
BUILD_CONFIGURATION: Debug
LAUNCHING_FROM_VS: "true"
labels:
com.microsoft.created-by: visual-studio
com.microsoft.visual-studio.project-name: survey-beta
target: base
container_name: survey-beta
depends_on:
db:
condition: service_started
required: true
entrypoint:
- dotnet
- --roll-forward
- Major
- /VSTools/DistrolessHelper/DistrolessHelper.dll
- --wait
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ASPNETCORE_LOGGING__CONSOLE__DISABLECOLORS: "true"
ConnectionStrings__DefaultConnection: Host=db-1;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
DOTNET_USE_POLLING_FILE_WATCHER: "1"
NUGET_FALLBACK_PACKAGES: ""
image: surveybeta:dev
labels:
com.microsoft.visualstudio.debuggee.arguments: ' --additionalProbingPath /.nuget/packages "/app/bin/Debug/net8.0/survey-beta.dll"'
com.microsoft.visualstudio.debuggee.killprogram: dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet
com.microsoft.visualstudio.debuggee.program: dotnet
com.microsoft.visualstudio.debuggee.workingdirectory: /app
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
tty: true
volumes:
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2\survey-beta
target: /app
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2
target: /src
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\vsdbg\vs2017u5
target: /remote_debugger
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\.nuget\packages
target: /.nuget/packages
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /root/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /root/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0
target: /VSTools
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload
target: /HotReloadAgent
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
db_data:
name: dockercompose6909980062609839317_db_data

View File

@@ -0,0 +1,79 @@
name: dockercompose6909980062609839317
services:
db:
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: db_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
depends_on:
db:
condition: service_started
required: true
entrypoint:
- dotnet
- survey-beta.dll
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ConnectionStrings__DefaultConnection: Host=dockercompose6909980062609839317-db-1;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
image: surveybeta
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
volumes:
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2
target: /app
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/Microsoft/UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/ASP.NET/Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
db_data:
name: dockercompose6909980062609839317_db_data

View File

@@ -0,0 +1,73 @@
name: dockercompose6909980062609839317
services:
db:
container_name: survey_db
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: postgres_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
container_name: survey_backend
depends_on:
db:
condition: service_started
required: true
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ConnectionStrings__DefaultConnection: Host=db;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
image: surveybeta
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming/Microsoft/UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/ASP.NET/Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
postgres_data:
name: dockercompose6909980062609839317_postgres_data

View File

@@ -0,0 +1,79 @@
name: dockercompose6909980062609839317
services:
db:
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: db_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
depends_on:
db:
condition: service_started
required: true
entrypoint:
- dotnet
- survey-beta.dll
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ConnectionStrings__DefaultConnection: Host=dockercompose6909980062609839317-db-1;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
image: surveybeta
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
volumes:
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2
target: /app
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/Microsoft/UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/ASP.NET/Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
db_data:
name: dockercompose6909980062609839317_db_data

View File

@@ -0,0 +1,139 @@
name: dockercompose6909980062609839317
services:
db:
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: db_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
args:
BUILD_CONFIGURATION: Debug
LAUNCHING_FROM_VS: "true"
labels:
com.microsoft.created-by: visual-studio
com.microsoft.visual-studio.project-name: survey-beta
target: base
container_name: survey-beta
depends_on:
db:
condition: service_started
required: true
entrypoint:
- dotnet
- --roll-forward
- Major
- /VSTools/DistrolessHelper/DistrolessHelper.dll
- --wait
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ASPNETCORE_LOGGING__CONSOLE__DISABLECOLORS: "true"
ConnectionStrings__DefaultConnection: Host=dockercompose6909980062609839317-db-1;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
DOTNET_USE_POLLING_FILE_WATCHER: "1"
NUGET_FALLBACK_PACKAGES: ""
image: surveybeta:dev
labels:
com.microsoft.visualstudio.debuggee.arguments: ' --additionalProbingPath /.nuget/packages "/app/bin/Debug/net8.0/survey-beta.dll"'
com.microsoft.visualstudio.debuggee.killprogram: dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet
com.microsoft.visualstudio.debuggee.program: dotnet
com.microsoft.visualstudio.debuggee.workingdirectory: /app
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
tty: true
volumes:
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2\survey-beta
target: /app
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2
target: /src
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\vsdbg\vs2017u5
target: /remote_debugger
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\.nuget\packages
target: /.nuget/packages
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /root/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /root/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0
target: /VSTools
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload
target: /HotReloadAgent
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
db_data:
name: dockercompose6909980062609839317_db_data

View File

@@ -0,0 +1,78 @@
name: dockercompose6909980062609839317
services:
db:
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: db_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
depends_on:
db:
condition: service_started
required: true
entrypoint:
- dotnet
- survey-beta.dll
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
image: surveybeta
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
volumes:
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2
target: /app
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/Microsoft/UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/ASP.NET/Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
db_data:
name: dockercompose6909980062609839317_db_data

View File

@@ -0,0 +1,78 @@
name: dockercompose6909980062609839317
services:
db:
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: db_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
depends_on:
db:
condition: service_started
required: true
entrypoint:
- dotnet
- survey-beta.dll
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
image: surveybeta
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
volumes:
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2
target: /app
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/Microsoft/UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/ASP.NET/Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
db_data:
name: dockercompose6909980062609839317_db_data

View File

@@ -0,0 +1,138 @@
name: dockercompose6909980062609839317
services:
db:
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: db_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
args:
BUILD_CONFIGURATION: Debug
LAUNCHING_FROM_VS: "true"
labels:
com.microsoft.created-by: visual-studio
com.microsoft.visual-studio.project-name: survey-beta
target: base
container_name: survey-beta
depends_on:
db:
condition: service_started
required: true
entrypoint:
- dotnet
- --roll-forward
- Major
- /VSTools/DistrolessHelper/DistrolessHelper.dll
- --wait
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ASPNETCORE_LOGGING__CONSOLE__DISABLECOLORS: "true"
DOTNET_USE_POLLING_FILE_WATCHER: "1"
NUGET_FALLBACK_PACKAGES: ""
image: surveybeta:dev
labels:
com.microsoft.visualstudio.debuggee.arguments: ' --additionalProbingPath /.nuget/packages "/app/bin/Debug/net8.0/survey-beta.dll"'
com.microsoft.visualstudio.debuggee.killprogram: dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet
com.microsoft.visualstudio.debuggee.program: dotnet
com.microsoft.visualstudio.debuggee.workingdirectory: /app
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
tty: true
volumes:
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2\survey-beta
target: /app
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2
target: /src
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\vsdbg\vs2017u5
target: /remote_debugger
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\.nuget\packages
target: /.nuget/packages
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /root/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /root/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0
target: /VSTools
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload
target: /HotReloadAgent
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
db_data:
name: dockercompose6909980062609839317_db_data

View File

@@ -0,0 +1,124 @@
name: dockercompose6909980062609839317
services:
db:
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: db_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
args:
BUILD_CONFIGURATION: Debug
LAUNCHING_FROM_VS: "true"
labels:
com.microsoft.created-by: visual-studio
com.microsoft.visual-studio.project-name: survey-beta
container_name: survey-beta
depends_on:
db:
condition: service_started
required: true
entrypoint:
- dotnet
- --roll-forward
- Major
- /VSTools/DistrolessHelper/DistrolessHelper.dll
- --wait
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
image: surveybeta
labels:
com.microsoft.visual-studio.project-name: survey-beta
com.microsoft.visualstudio.debuggee.arguments: ' --additionalProbingPath /.nuget/packages "/app/survey-beta.dll"'
com.microsoft.visualstudio.debuggee.killprogram: dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet
com.microsoft.visualstudio.debuggee.program: dotnet
com.microsoft.visualstudio.debuggee.workingdirectory: /app
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
tty: true
volumes:
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2
target: /app
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\vsdbg\vs2017u5
target: /remote_debugger
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /root/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /root/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0
target: /VSTools
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload
target: /HotReloadAgent
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
db_data:
name: dockercompose6909980062609839317_db_data

View File

@@ -0,0 +1,74 @@
name: dockercompose6909980062609839317
services:
db:
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
volumes:
- type: volume
source: db_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
depends_on:
db:
condition: service_started
required: true
entrypoint:
- dotnet
- survey-beta.dll
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ConnectionStrings__DefaultConnection: Host=db;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
image: surveybeta
networks:
default: null
ports:
- mode: ingress
target: 80
published: "8080"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
volumes:
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2
target: /app
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/Microsoft/UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/ASP.NET/Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
db_data:
name: dockercompose6909980062609839317_db_data

View File

@@ -0,0 +1,134 @@
name: dockercompose6909980062609839317
services:
db:
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
volumes:
- type: volume
source: db_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
args:
BUILD_CONFIGURATION: Debug
LAUNCHING_FROM_VS: "true"
labels:
com.microsoft.created-by: visual-studio
com.microsoft.visual-studio.project-name: survey-beta
target: base
container_name: survey-beta
depends_on:
db:
condition: service_started
required: true
entrypoint:
- dotnet
- --roll-forward
- Major
- /VSTools/DistrolessHelper/DistrolessHelper.dll
- --wait
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ASPNETCORE_LOGGING__CONSOLE__DISABLECOLORS: "true"
ConnectionStrings__DefaultConnection: Host=db;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
DOTNET_USE_POLLING_FILE_WATCHER: "1"
NUGET_FALLBACK_PACKAGES: ""
image: surveybeta:dev
labels:
com.microsoft.visualstudio.debuggee.arguments: ' --additionalProbingPath /.nuget/packages "/app/bin/Debug/net8.0/survey-beta.dll"'
com.microsoft.visualstudio.debuggee.killprogram: dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet
com.microsoft.visualstudio.debuggee.program: dotnet
com.microsoft.visualstudio.debuggee.workingdirectory: /app
networks:
default: null
ports:
- mode: ingress
target: 80
published: "8080"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
tty: true
volumes:
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2\survey-beta
target: /app
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2
target: /src
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\vsdbg\vs2017u5
target: /remote_debugger
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\.nuget\packages
target: /.nuget/packages
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /root/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /root/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0
target: /VSTools
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload
target: /HotReloadAgent
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
db_data:
name: dockercompose6909980062609839317_db_data

View File

@@ -0,0 +1,140 @@
name: dockercompose6909980062609839317
services:
db:
container_name: survey_db
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: postgres_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
args:
BUILD_CONFIGURATION: Debug
LAUNCHING_FROM_VS: "true"
labels:
com.microsoft.created-by: visual-studio
com.microsoft.visual-studio.project-name: survey-beta
target: base
container_name: survey_backend
depends_on:
db:
condition: service_started
required: true
entrypoint:
- dotnet
- --roll-forward
- Major
- /VSTools/DistrolessHelper/DistrolessHelper.dll
- --wait
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ASPNETCORE_LOGGING__CONSOLE__DISABLECOLORS: "true"
ConnectionStrings__DefaultConnection: Host=db;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
DOTNET_USE_POLLING_FILE_WATCHER: "1"
NUGET_FALLBACK_PACKAGES: ""
image: surveybeta:dev
labels:
com.microsoft.visualstudio.debuggee.arguments: ' --additionalProbingPath /.nuget/packages "/app/bin/Debug/net8.0/survey-beta.dll"'
com.microsoft.visualstudio.debuggee.killprogram: dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet
com.microsoft.visualstudio.debuggee.program: dotnet
com.microsoft.visualstudio.debuggee.workingdirectory: /app
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
tty: true
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2\survey-beta
target: /app
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2
target: /src
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\vsdbg\vs2017u5
target: /remote_debugger
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\.nuget\packages
target: /.nuget/packages
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /root/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /root/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0
target: /VSTools
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload
target: /HotReloadAgent
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
postgres_data:
name: dockercompose6909980062609839317_postgres_data

View File

@@ -0,0 +1,73 @@
name: dockercompose6909980062609839317
services:
db:
container_name: survey_db
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: postgres_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
container_name: survey_backend
depends_on:
db:
condition: service_started
required: true
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ConnectionStrings__DefaultConnection: Host=localhost;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
image: surveybeta
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming/Microsoft/UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/ASP.NET/Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
postgres_data:
name: dockercompose6909980062609839317_postgres_data

View File

@@ -0,0 +1,140 @@
name: dockercompose6909980062609839317
services:
db:
container_name: survey_db
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: postgres_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
args:
BUILD_CONFIGURATION: Debug
LAUNCHING_FROM_VS: "true"
labels:
com.microsoft.created-by: visual-studio
com.microsoft.visual-studio.project-name: survey-beta
target: base
container_name: survey_backend
depends_on:
db:
condition: service_started
required: true
entrypoint:
- dotnet
- --roll-forward
- Major
- /VSTools/DistrolessHelper/DistrolessHelper.dll
- --wait
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ASPNETCORE_LOGGING__CONSOLE__DISABLECOLORS: "true"
ConnectionStrings__DefaultConnection: Host=localhost;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
DOTNET_USE_POLLING_FILE_WATCHER: "1"
NUGET_FALLBACK_PACKAGES: ""
image: surveybeta:dev
labels:
com.microsoft.visualstudio.debuggee.arguments: ' --additionalProbingPath /.nuget/packages "/app/bin/Debug/net8.0/survey-beta.dll"'
com.microsoft.visualstudio.debuggee.killprogram: dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet
com.microsoft.visualstudio.debuggee.program: dotnet
com.microsoft.visualstudio.debuggee.workingdirectory: /app
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
tty: true
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2\survey-beta
target: /app
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\Source\Repos\survey-beta2
target: /src
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\vsdbg\vs2017u5
target: /remote_debugger
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\.nuget\packages
target: /.nuget/packages
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /root/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /root/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0
target: /VSTools
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload
target: /HotReloadAgent
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
postgres_data:
name: dockercompose6909980062609839317_postgres_data

View File

@@ -0,0 +1,121 @@
name: dockercompose6909980062609839317
services:
db:
container_name: survey_db
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: postgres_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
args:
BUILD_CONFIGURATION: Debug
LAUNCHING_FROM_VS: "true"
labels:
com.microsoft.created-by: visual-studio
com.microsoft.visual-studio.project-name: survey-beta
container_name: survey_backend
depends_on:
db:
condition: service_started
required: true
entrypoint:
- dotnet
- --roll-forward
- Major
- /VSTools/DistrolessHelper/DistrolessHelper.dll
- --wait
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ConnectionStrings__DefaultConnection: Host=localhost;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
image: surveybeta
labels:
com.microsoft.visual-studio.project-name: survey-beta
com.microsoft.visualstudio.debuggee.arguments: ' --additionalProbingPath /.nuget/packages "/app/survey-beta.dll"'
com.microsoft.visualstudio.debuggee.killprogram: dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet
com.microsoft.visualstudio.debuggee.program: dotnet
com.microsoft.visualstudio.debuggee.workingdirectory: /app
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
tty: true
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\vsdbg\vs2017u5
target: /remote_debugger
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\ASP.NET\Https
target: /root/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets
target: /root/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0
target: /VSTools
read_only: true
bind:
create_host_path: true
- type: bind
source: E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload
target: /HotReloadAgent
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
postgres_data:
name: dockercompose6909980062609839317_postgres_data

View File

@@ -0,0 +1,80 @@
name: dockercompose6909980062609839317
services:
db:
container_name: survey_db
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
healthcheck:
test:
- CMD-SHELL
- pg_isready -U postgres
timeout: 5s
interval: 10s
retries: 5
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: postgres_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
container_name: survey_backend
depends_on:
db:
condition: service_started
required: true
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ConnectionStrings__DefaultConnection: Host=db;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
image: surveybeta
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming/Microsoft/UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/ASP.NET/Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
postgres_data:
name: dockercompose6909980062609839317_postgres_data

View File

@@ -0,0 +1,80 @@
name: dockercompose6909980062609839317
services:
db:
container_name: survey_db
environment:
POSTGRES_DB: SurveyBeta
POSTGRES_PASSWORD: MAJEDali645
POSTGRES_USER: postgres
healthcheck:
test:
- CMD-SHELL
- pg_isready -U postgres
timeout: 5s
interval: 10s
retries: 5
image: postgres:latest
networks:
default: null
ports:
- mode: ingress
target: 5432
published: "5432"
protocol: tcp
restart: always
volumes:
- type: volume
source: postgres_data
target: /var/lib/postgresql/data
volume: {}
survey-beta:
build:
context: C:\Users\alioa\Source\Repos\survey-beta2
dockerfile: survey-beta/Dockerfile
container_name: survey_backend
depends_on:
db:
condition: service_started
required: true
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
ConnectionStrings__DefaultConnection: Host=db;Database=SurveyBeta;Username=postgres;Password=MAJEDali645
image: surveybeta
networks:
default: null
ports:
- mode: ingress
target: 8080
published: "8080"
protocol: tcp
- mode: ingress
target: 8081
published: "8081"
protocol: tcp
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
volumes:
- type: bind
source: C:\Users\alioa\AppData\Roaming/Microsoft/UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\alioa\AppData\Roaming/ASP.NET/Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose6909980062609839317_default
volumes:
postgres_data:
name: dockercompose6909980062609839317_postgres_data

View File

@@ -0,0 +1 @@
{"PrerequisiteCheckName":"Microsoft.Docker.Prerequisites.DockerForWindowsRunningPrerequisite","HasWarning":false,"HasError":true,"Properties":null}

View File

@@ -0,0 +1 @@
Linux

View File

@@ -0,0 +1,35 @@
services:
survey-beta:
image: surveybeta:dev
container_name: "survey-beta"
build:
args:
LAUNCHING_FROM_VS: true
BUILD_CONFIGURATION: Debug
target: base
labels:
com.microsoft.created-by: "visual-studio"
com.microsoft.visual-studio.project-name: "survey-beta"
environment:
- DOTNET_USE_POLLING_FILE_WATCHER=1
- ASPNETCORE_LOGGING__CONSOLE__DISABLECOLORS=true
- NUGET_FALLBACK_PACKAGES=
volumes:
- C:\Users\alioa\Source\Repos\survey-beta2\survey-beta:/app:rw
- C:\Users\alioa\Source\Repos\survey-beta2:/src:rw
- C:\Users\alioa\vsdbg\vs2017u5:/remote_debugger:rw
- C:\Users\alioa\.nuget\packages:/.nuget/packages:ro
- C:\Users\alioa\AppData\Roaming\ASP.NET\Https:/root/.aspnet/https:ro
- C:\Users\alioa\AppData\Roaming\ASP.NET\Https:/home/app/.aspnet/https:ro
- C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets:/root/.microsoft/usersecrets:ro
- C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets:/home/app/.microsoft/usersecrets:ro
- E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0:/VSTools:ro
- E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload:/HotReloadAgent:ro
entrypoint: "dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --wait"
labels:
com.microsoft.visualstudio.debuggee.program: "dotnet"
com.microsoft.visualstudio.debuggee.arguments: " --additionalProbingPath /.nuget/packages \"/app/bin/Debug/net8.0/survey-beta.dll\""
com.microsoft.visualstudio.debuggee.workingdirectory: "/app"
com.microsoft.visualstudio.debuggee.killprogram: "dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet"
tty: true

View File

@@ -0,0 +1,35 @@
services:
survey-beta:
image: surveybeta:dev
container_name: "survey-beta"
build:
args:
LAUNCHING_FROM_VS: true
BUILD_CONFIGURATION: Debug
target: base
labels:
com.microsoft.created-by: "visual-studio"
com.microsoft.visual-studio.project-name: "survey-beta"
environment:
- DOTNET_USE_POLLING_FILE_WATCHER=1
- ASPNETCORE_LOGGING__CONSOLE__DISABLECOLORS=true
- NUGET_FALLBACK_PACKAGES=
volumes:
- C:\Users\alioa\Source\Repos\survey-beta2\survey-beta:/app:rw
- C:\Users\alioa\Source\Repos\survey-beta2:/src:rw
- C:\Users\alioa\vsdbg\vs2017u5:/remote_debugger:rw
- C:\Users\alioa\.nuget\packages:/.nuget/packages:ro
- C:\Users\alioa\AppData\Roaming\ASP.NET\Https:/root/.aspnet/https:ro
- C:\Users\alioa\AppData\Roaming\ASP.NET\Https:/home/app/.aspnet/https:ro
- C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets:/root/.microsoft/usersecrets:ro
- C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets:/home/app/.microsoft/usersecrets:ro
- E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0:/VSTools:ro
- E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload:/HotReloadAgent:ro
entrypoint: "dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --wait"
labels:
com.microsoft.visualstudio.debuggee.program: "dotnet"
com.microsoft.visualstudio.debuggee.arguments: " --additionalProbingPath /.nuget/packages \"/app/bin/Debug/net8.0/survey-beta.dll\""
com.microsoft.visualstudio.debuggee.workingdirectory: "/app"
com.microsoft.visualstudio.debuggee.killprogram: "dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet"
tty: true

View File

@@ -0,0 +1,27 @@
services:
survey-beta:
container_name: "survey-beta"
build:
args:
LAUNCHING_FROM_VS: true
BUILD_CONFIGURATION: Debug
labels:
com.microsoft.created-by: "visual-studio"
com.microsoft.visual-studio.project-name: "survey-beta"
volumes:
- C:\Users\alioa\vsdbg\vs2017u5:/remote_debugger:rw
- C:\Users\alioa\AppData\Roaming\ASP.NET\Https:/root/.aspnet/https:ro
- C:\Users\alioa\AppData\Roaming\ASP.NET\Https:/home/app/.aspnet/https:ro
- C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets:/root/.microsoft/usersecrets:ro
- C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets:/home/app/.microsoft/usersecrets:ro
- E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0:/VSTools:ro
- E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload:/HotReloadAgent:ro
entrypoint: "dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --wait"
labels:
com.microsoft.visualstudio.debuggee.program: "dotnet"
com.microsoft.visualstudio.debuggee.arguments: " --additionalProbingPath /.nuget/packages \"/app/survey-beta.dll\""
com.microsoft.visualstudio.debuggee.workingdirectory: "/app"
com.microsoft.visualstudio.debuggee.killprogram: "dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet"
com.microsoft.visual-studio.project-name: "survey-beta"
tty: true

View File

@@ -0,0 +1,27 @@
services:
survey-beta:
container_name: "survey-beta"
build:
args:
LAUNCHING_FROM_VS: true
BUILD_CONFIGURATION: Debug
labels:
com.microsoft.created-by: "visual-studio"
com.microsoft.visual-studio.project-name: "survey-beta"
volumes:
- C:\Users\alioa\vsdbg\vs2017u5:/remote_debugger:rw
- C:\Users\alioa\AppData\Roaming\ASP.NET\Https:/root/.aspnet/https:ro
- C:\Users\alioa\AppData\Roaming\ASP.NET\Https:/home/app/.aspnet/https:ro
- C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets:/root/.microsoft/usersecrets:ro
- C:\Users\alioa\AppData\Roaming\Microsoft\UserSecrets:/home/app/.microsoft/usersecrets:ro
- E:\codz\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net8.0:/VSTools:ro
- E:\codz\Common7\IDE\CommonExtensions\Microsoft\HotReload:/HotReloadAgent:ro
entrypoint: "dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --wait"
labels:
com.microsoft.visualstudio.debuggee.program: "dotnet"
com.microsoft.visualstudio.debuggee.arguments: " --additionalProbingPath /.nuget/packages \"/app/survey-beta.dll\""
com.microsoft.visualstudio.debuggee.workingdirectory: "/app"
com.microsoft.visualstudio.debuggee.killprogram: "dotnet --roll-forward Major /VSTools/DistrolessHelper/DistrolessHelper.dll --stop dotnet"
com.microsoft.visual-studio.project-name: "survey-beta"
tty: true

View File

@@ -0,0 +1 @@
NoConflict

View File

@@ -0,0 +1 @@
C:\Users\alioa\Source\Repos\survey-beta2\survey-beta\bin\Debug\net8.0\survey-beta.dll

View File

@@ -0,0 +1 @@
C:\Users\alioa\Source\Repos\survey-beta2

View File

@@ -0,0 +1 @@
/app/bin/Debug/net8.0/survey-beta.dll

Some files were not shown because too many files have changed in this diff Show More