Hypercode/alex/hypercodePublic

Code

  1. hypercode
  2. .env.example
.env.example28 lines
# HTTP server configuration
HTTP_ADDR=:3000

# Security - Signing secret for cookies/sessions
#
# PRODUCTION (systemd with systemd-creds):
#   Automatically loaded from encrypted credential via systemd LoadCredentialEncrypted
#   Stored at: /etc/credstore.encrypted/hypercode.signing_secret
#   Decrypted only by systemd, only for hypercode.service, never touches disk
#   No need to set SIGNING_SECRET in environment
#
# PRODUCTION (systemd without systemd-creds, fallback):
#   Loaded from plain file via systemd LoadCredential
#   Stored at: /etc/hypercode/signing_secret (mode 600)
#
# DEVELOPMENT:
#   Set SIGNING_SECRET environment variable
#   Example: export SIGNING_SECRET=$(openssl rand -base64 32)
SIGNING_SECRET=insecure-dev-secret

# Database path
DATABASE_PATH=hypercode.db

# Git repositories storage path
REPOS_BASE_PATH=repos

# GITHUB_OAUTH_CLIENT_ID=
# GITHUB_OAUTH_CLIENT_SECRET=