Files
ackify-ce/install/.env.example
Benjamin c38558fea6 feat: refactor Ackify to support CE/EE separation
- Move web server logic to pkg/web package for external imports
- Rename cmd/ackify to cmd/community for clarity
- Create NewServer(multitenant bool) function for EE integration
- Add basic unit tests for Community Edition
- Update Dockerfile to build from cmd/community
- Add comprehensive build and deployment documentation

This change enables the Enterprise Edition to import and extend
the Community Edition while maintaining clean separation.
2025-09-13 22:28:27 +02:00

47 lines
1.5 KiB
Plaintext

# 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
# 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