151 lines
4.7 KiB
Plaintext
151 lines
4.7 KiB
Plaintext
name: dockercompose14841401621449927736
|
|
services:
|
|
db:
|
|
environment:
|
|
POSTGRES_DB: postgres
|
|
POSTGRES_PASSWORD: postgres
|
|
POSTGRES_USER: postgres
|
|
healthcheck:
|
|
test:
|
|
- CMD-SHELL
|
|
- pg_isready -U postgres -d 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
|
|
volume: {}
|
|
openarchival.blazor:
|
|
build:
|
|
context: C:\Users\vtall\source\repos\vtallen\Open-Archival
|
|
dockerfile: OpenArchival.Blazor/Dockerfile
|
|
args:
|
|
BUILD_CONFIGURATION: Debug
|
|
LAUNCHING_FROM_VS: "true"
|
|
labels:
|
|
com.microsoft.created-by: visual-studio
|
|
com.microsoft.visual-studio.project-name: OpenArchival.Blazor
|
|
target: base
|
|
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;Port=5432;Database=postgres;Username=postgres;Password=postgres
|
|
DOTNET_USE_POLLING_FILE_WATCHER: "1"
|
|
NUGET_FALLBACK_PACKAGES: /.nuget/fallbackpackages
|
|
image: openarchivalblazor:dev
|
|
labels:
|
|
com.microsoft.visualstudio.debuggee.arguments: ' --additionalProbingPath /.nuget/packages --additionalProbingPath /.nuget/fallbackpackages "/app/bin/Debug/net9.0/OpenArchival.Blazor.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: "3801"
|
|
protocol: tcp
|
|
- mode: ingress
|
|
target: 8081
|
|
published: "4334"
|
|
protocol: tcp
|
|
- mode: ingress
|
|
target: 8080
|
|
protocol: tcp
|
|
- mode: ingress
|
|
target: 8081
|
|
protocol: tcp
|
|
tty: true
|
|
volumes:
|
|
- type: bind
|
|
source: C:\Users\vtall\AppData\Roaming\Microsoft\UserSecrets
|
|
target: /home/app/.microsoft/usersecrets
|
|
read_only: true
|
|
bind:
|
|
create_host_path: true
|
|
- type: bind
|
|
source: C:\Users\vtall\AppData\Roaming\Microsoft\UserSecrets
|
|
target: /root/.microsoft/usersecrets
|
|
read_only: true
|
|
bind:
|
|
create_host_path: true
|
|
- type: bind
|
|
source: C:\Users\vtall\AppData\Roaming\ASP.NET\Https
|
|
target: /home/app/.aspnet/https
|
|
read_only: true
|
|
bind:
|
|
create_host_path: true
|
|
- type: bind
|
|
source: C:\Users\vtall\AppData\Roaming\ASP.NET\Https
|
|
target: /root/.aspnet/https
|
|
read_only: true
|
|
bind:
|
|
create_host_path: true
|
|
- type: bind
|
|
source: C:\Users\vtall\source\repos\vtallen\Open-Archival\OpenArchival.Blazor
|
|
target: /app
|
|
bind:
|
|
create_host_path: true
|
|
- type: bind
|
|
source: C:\Users\vtall\source\repos\vtallen\Open-Archival
|
|
target: /src
|
|
bind:
|
|
create_host_path: true
|
|
- type: bind
|
|
source: C:\Users\vtall\vsdbg\vs2017u5
|
|
target: /remote_debugger
|
|
bind:
|
|
create_host_path: true
|
|
- type: bind
|
|
source: C:\Users\vtall\.nuget\packages
|
|
target: /.nuget/packages
|
|
read_only: true
|
|
bind:
|
|
create_host_path: true
|
|
- type: bind
|
|
source: C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages
|
|
target: /.nuget/fallbackpackages
|
|
read_only: true
|
|
bind:
|
|
create_host_path: true
|
|
- type: bind
|
|
source: C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Sdks\Microsoft.Docker.Sdk\tools\linux-x64\net6.0
|
|
target: /VSTools
|
|
read_only: true
|
|
bind:
|
|
create_host_path: true
|
|
- type: bind
|
|
source: C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\HotReload
|
|
target: /HotReloadAgent
|
|
read_only: true
|
|
bind:
|
|
create_host_path: true
|
|
networks:
|
|
default:
|
|
name: dockercompose14841401621449927736_default
|
|
volumes:
|
|
postgres_data:
|
|
name: dockercompose14841401621449927736_postgres_data |