82 lines
2.2 KiB
Plaintext
82 lines
2.2 KiB
Plaintext
name: dockercompose13046784533988757350
|
|
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/data
|
|
volume: {}
|
|
openarchival.blazor:
|
|
build:
|
|
context: D:\Nextcloud\Documents\Open-Archival
|
|
dockerfile: OpenArchival.Blazor/Dockerfile
|
|
depends_on:
|
|
db:
|
|
condition: service_healthy
|
|
required: true
|
|
environment:
|
|
ASPNETCORE_ENVIRONMENT: Development
|
|
ASPNETCORE_HTTP_PORTS: "8080"
|
|
ASPNETCORE_HTTPS_PORTS: "8081"
|
|
ConnectionStrings__DefaultConnection: Host=db;Port=5432;Database=postgres;Username=postgres;Password=postgres
|
|
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
|
|
volumes:
|
|
postgres_data:
|
|
name: dockercompose13046784533988757350_postgres_data |