mirror of
https://github.com/btouchard/ackify-ce.git
synced 2026-02-28 10:48:47 -06:00
feat: standardize environment variable names with ACKIFY_ prefix
- Renamed all environment variables to use consistent ACKIFY_ prefix - Updated configuration files, Docker compose, and build documentation - Modified database connection variables and OAuth configuration - Updated crypto key environment variable reference - Ensured consistency across all configuration files
This commit is contained in:
+23
-23
@@ -1,43 +1,43 @@
|
||||
# Application Configuration
|
||||
APP_NAME=ackify-ce
|
||||
APP_DNS=your-domain.com
|
||||
APP_BASE_URL=https://your-domain.com
|
||||
APP_ORGANISATION="Your Organization Name"
|
||||
|
||||
# Database Configuration
|
||||
POSTGRES_USER=ackifyr
|
||||
POSTGRES_PASSWORD=your_secure_password
|
||||
POSTGRES_DB=ackify
|
||||
DB_DSN=postgres://user:pass@db:5432/ack?sslmode=disable
|
||||
|
||||
# Application Configuration
|
||||
APP_NAME=ackify
|
||||
APP_DNS=sign.your-domain.com
|
||||
ACKIFY_BASE_URL=https://sign.your-domain.com
|
||||
ACKIFY_ORGANISATION="Your Organization Name"
|
||||
ACKIFY_DB_DSN="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@ackify-db:5432/${POSTGRES_DB}?sslmode=disable"
|
||||
|
||||
# OAuth2 Configuration - Generic Provider
|
||||
OAUTH_CLIENT_ID=your_oauth_client_id
|
||||
OAUTH_CLIENT_SECRET=your_oauth_client_secret
|
||||
OAUTH_ALLOWED_DOMAIN=your-organization.com
|
||||
ACKIFY_OAUTH_CLIENT_ID=your_oauth_client_id
|
||||
ACKIFY_OAUTH_CLIENT_SECRET=your_oauth_client_secret
|
||||
ACKIFY_OAUTH_ALLOWED_DOMAIN=your-organization.com
|
||||
|
||||
# OAuth2 Provider Configuration
|
||||
# Use OAUTH_PROVIDER to configure popular providers automatically:
|
||||
# Use ACKIFY_OAUTH_PROVIDER to configure popular providers automatically:
|
||||
# - "google" for Google OAuth2
|
||||
# - "github" for GitHub OAuth2
|
||||
# - "gitlab" for GitLab OAuth2 (set OAUTH_GITLAB_URL if self-hosted)
|
||||
# - "github" for GitHub OAuth2
|
||||
# - "gitlab" for GitLab OAuth2 (set ACKIFY_OAUTH_GITLAB_URL if self-hosted)
|
||||
# - Leave empty for custom provider (requires manual URL configuration)
|
||||
OAUTH_PROVIDER=google
|
||||
ACKIFY_OAUTH_PROVIDER=google
|
||||
|
||||
# Custom OAuth2 Provider URLs (only needed if OAUTH_PROVIDER is empty)
|
||||
# OAUTH_AUTH_URL=https://your-provider.com/oauth/authorize
|
||||
# OAUTH_TOKEN_URL=https://your-provider.com/oauth/token
|
||||
# OAUTH_USERINFO_URL=https://your-provider.com/api/user
|
||||
# OAUTH_SCOPES=openid,email
|
||||
# Custom OAuth2 Provider URLs (only needed if ACKIFY_OAUTH_PROVIDER is empty)
|
||||
# ACKIFY_OAUTH_AUTH_URL=https://your-provider.com/oauth/authorize
|
||||
# ACKIFY_OAUTH_TOKEN_URL=https://your-provider.com/oauth/token
|
||||
# ACKIFY_OAUTH_USERINFO_URL=https://your-provider.com/api/user
|
||||
# ACKIFY_OAUTH_SCOPES=openid,email
|
||||
|
||||
# GitLab specific (if using gitlab as provider and self-hosted)
|
||||
# OAUTH_GITLAB_URL=https://gitlab.your-company.com
|
||||
# ACKIFY_OAUTH_GITLAB_URL=https://gitlab.your-company.com
|
||||
|
||||
# Security Configuration
|
||||
OAUTH_COOKIE_SECRET=your_base64_encoded_secret_key
|
||||
ED25519_PRIVATE_KEY_B64=your_base64_encoded_ed25519_private_key
|
||||
ACKIFY_OAUTH_COOKIE_SECRET=your_base64_encoded_secret_key
|
||||
ACKIFY_ED25519_PRIVATE_KEY=your_base64_encoded_ed25519_private_key
|
||||
|
||||
# Server Configuration
|
||||
LISTEN_ADDR=:8080
|
||||
ACKIFY_LISTEN_ADDR=:8080
|
||||
|
||||
# Template Configuration
|
||||
# ACKIFY_TEMPLATES_DIR=/custom/path/to/templates
|
||||
Reference in New Issue
Block a user