Files
org-garden/config/config.exs
Ignacio Ballesteros 01805dbf39 Add service infrastructure for long-running deployment
- Add configuration system (config/*.exs, OrgGarden.Config)
- Refactor supervision tree with DynamicSupervisor and Registry
- Add OrgGarden.Server for serve mode lifecycle management
- Add health check HTTP endpoints (Bandit/Plug on :9090)
- Add telemetry events for export and watcher operations
- Implement graceful shutdown with SIGTERM handling
- Add Mix Release support with overlay scripts
- Add NixOS module for systemd service deployment
- Update documentation with service usage
2026-02-21 20:38:47 +01:00

19 lines
415 B
Elixir

import Config
# Default configuration values
# These are overridden by config/runtime.exs in releases
config :org_garden,
zotero_url: "http://localhost:23119",
citation_mode: :warn,
http_port: 8080,
ws_port: 3001,
health_port: 9090
config :logger, :console,
format: "$time $metadata[$level] $message\n",
metadata: [:module]
# Import environment specific config
import_config "#{config_env()}.exs"