Files
ackify/install/.env.example
T
2025-09-10 20:03:24 +02:00

47 lines
1.5 KiB
Bash

# Application Configuration
APP_NAME=ackify
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
# OAuth2 Configuration - Popular providers
OAUTH_PROVIDER=google
OAUTH_CLIENT_ID=your_oauth_client_id
OAUTH_CLIENT_SECRET=your_oauth_client_secret
OAUTH_ALLOWED_DOMAIN=@your-organization.com
# Security Configuration (generate with commands below)
OAUTH_COOKIE_SECRET=your_base64_encoded_secret_key
ED25519_PRIVATE_KEY_B64=your_base64_encoded_ed25519_private_key
# Server Configuration
LISTEN_ADDR=:8080
# ========================================
# CONFIGURATION INSTRUCTIONS
# ========================================
# 1. Generate secure secrets:
# OAUTH_COOKIE_SECRET=$(openssl rand -base64 32)
# ED25519_PRIVATE_KEY_B64=$(openssl genpkey -algorithm Ed25519 | base64 -w 0)
# 2. OAuth2 Provider Configuration:
# GOOGLE: OAUTH_PROVIDER=google
# GITHUB: OAUTH_PROVIDER=github
# GITLAB: OAUTH_PROVIDER=gitlab
# CUSTOM: Leave OAUTH_PROVIDER empty and set:
# 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
# 3. For GitLab self-hosted:
# OAUTH_GITLAB_URL=https://gitlab.your-company.com
# 4. Domain restriction (optional):
# OAUTH_ALLOWED_DOMAIN=@company.com