-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
50 lines (48 loc) · 1.61 KB
/
Copy pathdocker-compose.yml
File metadata and controls
50 lines (48 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
services:
archivedex.server:
image: ${DOCKER_REGISTRY-}archivedexserver
build:
context: .
dockerfile: src/ArchiveDex.Server/Dockerfile
environment:
ASPNETCORE_URLS: "http://+:8080"
ConnectionStrings__PostgreSQL: "Host=db;Database=archivedex;Username=archivedex;Password=${DB_PASSWORD:-archivedex-dev-local}"
DataProtection__Path: "/app/dataprotection"
Security__RequireHttpsCookies: "false"
DataTransfer__MaxArchiveBytes: "${DATA_TRANSFER_MAX_ARCHIVE_BYTES:-42949672960}"
AI__Provider: "${AI_PROVIDER:-unavailable}"
AI__OpenAI__ApiKey: "${OPENAI_API_KEY:-}"
AI__OpenAI__Model: "${OPENAI_MODEL:-gpt-5.6-luna}"
AI__Anthropic__ApiKey: "${ANTHROPIC_API_KEY:-}"
AI__Anthropic__Model: "${ANTHROPIC_MODEL:-claude-sonnet-4-5}"
AI__Valuation__Provider: "${VALUATION_PROVIDER:-openai}"
Owner__UserName: "${OWNER_USERNAME:-owner}"
Owner__Password: "${OWNER_PASSWORD:-Owner-Dev-2026}"
depends_on:
db:
condition: service_healthy
volumes:
- dataprotectionkeys:/app/dataprotection
- archivedexlogs:/app/logs
ports:
- "8080:8080"
db:
image: postgres:18.4-bookworm
environment:
POSTGRES_USER: archivedex
POSTGRES_PASSWORD: ${DB_PASSWORD:-archivedex-dev-local}
POSTGRES_DB: archivedex
ports:
- "5432:5432"
volumes:
- pgdata18:/var/lib/postgresql
healthcheck:
test: ["CMD-SHELL", "pg_isready -U archivedex -d archivedex"]
interval: 10s
timeout: 3s
retries: 5
start_period: 10s
volumes:
pgdata18:
dataprotectionkeys:
archivedexlogs: