Files
ai-recruit-site-template/.env.example
Mikael Westöö 09c198490d Make GITEA_API_TOKEN required for automatic deployments
Automatic deployments are essential for the template, so GITEA_API_TOKEN is now required.

Changes:
- .env.example: Marked both API keys as REQUIRED
- deploy-to-apps.example.sh: Script now exits with error if GITEA_API_TOKEN not set
- Added clear instructions on how to get Gitea API token

Without webhooks, users would need to manually trigger deployments after every push,
which defeats the purpose of automated infrastructure.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-24 08:40:50 +01:00

114 lines
3.8 KiB
Plaintext

# ===================================
# AI Recruitment Site - Configuration
# ===================================
# Copy this file to .env and customize for your company
# ===================================
# Company Information
# ===================================
COMPANY_NAME=Your Recruitment Firm
COMPANY_TAGLINE=Finding the Perfect Match for Your Career
COMPANY_DESCRIPTION=We specialize in connecting talented professionals with exceptional opportunities across various industries.
# ===================================
# Company Branding (Colors)
# ===================================
# Primary brand color (e.g., #2563EB for blue)
PRIMARY_COLOR=#2563EB
# Accent/success color (e.g., #059669 for green)
ACCENT_COLOR=#059669
# Dark/secondary color (e.g., #1E293B)
DARK_COLOR=#1E293B
# ===================================
# Contact Information
# ===================================
CONTACT_EMAIL=info@yourcompany.com
CONTACT_PHONE=+1 (555) 123-4567
CONTACT_ADDRESS=123 Business St, Suite 100, City, State 12345
# Social Media Links (leave empty to hide)
SOCIAL_LINKEDIN=https://linkedin.com/company/yourcompany
SOCIAL_TWITTER=https://twitter.com/yourcompany
SOCIAL_FACEBOOK=
# ===================================
# Deployment Configuration
# ===================================
# Your custom subdomain (e.g., 'anna' becomes annarecruit.startanaicompany.com)
SUBDOMAIN=yourname
# Your Gitea username and repository name
GITEA_USERNAME=your-gitea-username
GITEA_REPO_NAME=ai-recruit-site-template
# ===================================
# Application Settings
# ===================================
NODE_ENV=production
PORT=3000
# Session secret (will be auto-generated if empty)
SESSION_SECRET=
# ===================================
# Database Configuration
# ===================================
# PostgreSQL connection details
DB_HOST=postgres
DB_PORT=5432
DB_NAME=recruitment
DB_USER=postgres
# Database password (will be auto-generated if empty)
DB_PASSWORD=
# ===================================
# API Tokens (for deployment script)
# ===================================
# REQUIRED: Get your SAAC_API_KEY from: https://apps.startanaicompany.com/api/v1/register
# Set as environment variable: export SAAC_API_KEY="your_key_here"
#
# REQUIRED: GITEA_API_TOKEN needed for automatic deployments (webhook setup)
# Get from: https://git.startanaicompany.com → Settings → Applications → Generate New Token
# Set as environment variable: export GITEA_API_TOKEN="your_token_here"
# ===================================
# Feature Configuration
# ===================================
# Maximum CV file size in MB
MAX_CV_SIZE_MB=5
# Allowed CV file types (comma-separated)
ALLOWED_CV_TYPES=application/pdf,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document
# ===================================
# About Page Content
# ===================================
ABOUT_MISSION=Our mission is to bridge the gap between exceptional talent and outstanding opportunities.
ABOUT_VISION=We envision a world where every professional finds their perfect career match.
ABOUT_VALUES=Integrity, Excellence, Innovation, Partnership
# ===================================
# Services Offered (comma-separated)
# ===================================
SERVICES_LIST=Executive Search,Contract Staffing,Permanent Placement,Career Consulting,Talent Assessment,Industry Expertise
# ===================================
# Contact Page Settings
# ===================================
# Email address where contact form submissions are sent
CONTACT_FORM_RECIPIENT=info@yourcompany.com
# Business hours
BUSINESS_HOURS=Monday - Friday: 9:00 AM - 6:00 PM
# ===================================
# Email Configuration (Optional)
# ===================================
# If you want to send email notifications
SMTP_HOST=
SMTP_PORT=587
SMTP_USER=
SMTP_PASSWORD=
SMTP_FROM=noreply@yourcompany.com