mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
Docker: complete .env.example, image-based and Traefik compose examples, health checks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1412470cd5
commit
a6e5c4343f
5 files changed
+131
-9
No files matched your search
+41
-7
@@ -1,14 +1,48 @@
|
||||
# Generate with: bin/rails secret
|
||||
# Simple Aircraft Manager settings. Copy to .env and edit; only the first
|
||||
# block is required. Every setting is explained in the README.
|
||||
|
||||
# --- Required ----------------------------------------------------------
|
||||
# Generate with: bin/rails secret (or: openssl rand -hex 64)
|
||||
# Keep a copy somewhere safe off the server: signatures and stored secrets
|
||||
# depend on it, and a restore needs the same one.
|
||||
SECRET_KEY_BASE=change-me
|
||||
# Public hostname, used in password-reset email links
|
||||
APP_HOST=localhost:3000
|
||||
# "true" when behind HTTPS (reverse proxy / Kamal). "false" for plain HTTP on a LAN.
|
||||
FORCE_SSL=false
|
||||
# Optional: enable password-reset emails
|
||||
# The host name people use to reach the app (used in email links).
|
||||
APP_HOST=aircraft.example.com
|
||||
# true: the app redirects to HTTPS and sets secure cookies (use behind a TLS
|
||||
# proxy such as Traefik, Caddy or Cloudflare Tunnel). false: plain HTTP on a LAN.
|
||||
FORCE_SSL=true
|
||||
|
||||
# --- Address -----------------------------------------------------------
|
||||
# Full public URL, if it isn't https://APP_HOST (used for the single sign-on
|
||||
# and Google Drive redirect URIs).
|
||||
# APP_URL=https://aircraft.example.com
|
||||
|
||||
# --- Email (password resets, sign-in links, invitations, reminders, alerts)
|
||||
# SMTP_ADDRESS=smtp.example.com
|
||||
# SMTP_PORT=587
|
||||
# SMTP_USERNAME=
|
||||
# SMTP_PASSWORD=
|
||||
# SMTP_TLS=false # true for TLS from the start (default on port 465)
|
||||
# MAIL_FROM=aircraft@example.com
|
||||
# Optional: Claude transcribes scanned logbook pages
|
||||
|
||||
# --- Single sign-on (OpenID Connect, e.g. Authentik) ----------------------
|
||||
# OIDC_ISSUER=https://auth.example.com/application/o/aircraft/
|
||||
# OIDC_CLIENT_ID=
|
||||
# OIDC_CLIENT_SECRET=
|
||||
# OIDC_PROVIDER_NAME=Authentik
|
||||
# OIDC_AUTO_CREATE_USERS=false # true: create an account at first sign-in
|
||||
# OIDC_TRUST_EMAIL=false # true: link accounts by unverified email
|
||||
# OIDC_ADMIN_GROUP= # members become admins (synced at sign-in)
|
||||
# PASSWORD_LOGIN=true # false: SSO only (invited mechanics then can't sign in)
|
||||
|
||||
# --- Sign-in security ----------------------------------------------------
|
||||
# PWNED_PASSWORDS_CHECK=true # false if the server has no outbound internet
|
||||
|
||||
# --- Logbook transcription with Claude -----------------------------------
|
||||
# ANTHROPIC_API_KEY=
|
||||
# LOGBOOK_AI_MODEL=claude-opus-5-5
|
||||
# LOGBOOK_AI_EFFORT=high
|
||||
|
||||
# --- Other ---------------------------------------------------------------
|
||||
# APP_REPOSITORY_URL= # source link on Admin → About (for a fork)
|
||||
# RAILS_LOG_LEVEL=info
|
||||
Reference in new issue
Block a user