Added a docker image and compose file for the application

This commit is contained in:
Vincent Allen
2025-09-03 13:28:56 -04:00
parent d0429ddaf4
commit 9a0661e985
192 changed files with 5369 additions and 96 deletions

View File

@@ -0,0 +1,48 @@
name: dockercompose13046784533988757350
services:
openarchival.blazor:
build:
context: D:\Nextcloud\Documents\Open-Archival
dockerfile: OpenArchival.Blazor/Dockerfile
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_HTTP_PORTS: "8080"
ASPNETCORE_HTTPS_PORTS: "8081"
image: openarchivalblazor
networks:
default: null
ports:
- mode: ingress
target: 8080
protocol: tcp
- mode: ingress
target: 8081
protocol: tcp
volumes:
- type: bind
source: C:\Users\Vincent Allen\AppData\Roaming/Microsoft/UserSecrets
target: /home/app/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\Vincent Allen\AppData\Roaming/Microsoft/UserSecrets
target: /root/.microsoft/usersecrets
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\Vincent Allen\AppData\Roaming/ASP.NET/Https
target: /home/app/.aspnet/https
read_only: true
bind:
create_host_path: true
- type: bind
source: C:\Users\Vincent Allen\AppData\Roaming/ASP.NET/Https
target: /root/.aspnet/https
read_only: true
bind:
create_host_path: true
networks:
default:
name: dockercompose13046784533988757350_default