Alarik is a drop-in S3-compatible replacement requiring no application code changes. All S3 APIs (upload, download, list, delete, multipart) are fully supported.
30 lines
934 B
Bash
30 lines
934 B
Bash
# ─── Heimdall — Environment Variables ──────────────────────────────
|
|
# Copy this file to .env and adjust for your deployment
|
|
|
|
# Database
|
|
DATABASE_URL=Host=postgresql;Port=5432;Database=heimdall;Username=heimdall;Password=heimdall
|
|
|
|
# JWT (change in production!)
|
|
JWT__KEY=ChangeMeToAtLeast32BytesLongKeyInProd!
|
|
JWT__ISSUER=heimdall
|
|
JWT__AUDIENCE=heimdall-api
|
|
|
|
# ASP.NET
|
|
ASPNETCORE_ENVIRONMENT=Production
|
|
ASPNETCORE_URLS=http://+:8080
|
|
|
|
# CORS
|
|
Cors__AllowedOrigins=https://localhost:5001,http://localhost:5000
|
|
|
|
# Alarik (S3-compatible object storage)
|
|
ALARIK_API_PORT=9000
|
|
ALARIK_CONSOLE_PORT=9001
|
|
ALARIK_ADMIN_USERNAME=heimdall
|
|
ALARIK_ADMIN_PASSWORD=heimdall123
|
|
ALARIK_JWT=ChangeMeAtLeast32BytesLongKeyInProd!
|
|
|
|
# Agent (set per agent instance)
|
|
HEIMDALL_CENTRAL_URL=http://heimdall-central:8080
|
|
HEIMDALL_SITE_TOKEN=replace-with-actual-token
|
|
HEIMDALL_AGENT_NAME=agent-01
|