gitlab-deployment/.env.example

45 lines
1.2 KiB
Plaintext

# Digital Ocean Droplet Configuration
DROPLET_IP=your_droplet_ip
DROPLET_USER=root
SSH_KEY_PATH=~/.ssh/id_rsa
# Domain Configuration
GITLAB_DOMAIN=gitlab.yourdomain.com
ADMIN_EMAIL=your@email.com
# GitLab Configuration
GITLAB_ROOT_PASSWORD=change_me_after_first_login
GITLAB_BACKUP_BUCKET=your-backup-bucket # For DO Spaces or S3
# Email Configuration (REQUIRED for GitLab notifications)
GITLAB_EMAIL_FROM=gitlab@yourdomain.com
GITLAB_EMAIL_DISPLAY_NAME="GitLab"
GITLAB_EMAIL_REPLY_TO=noreply@yourdomain.com
# Email Delivery Method (choose one: smtp, sendgrid, mailgun, ses)
EMAIL_METHOD=smtp
# SMTP Configuration (if using external SMTP like Gmail)
SMTP_ENABLED=true
SMTP_ADDRESS=smtp.gmail.com
SMTP_PORT=587
SMTP_USER_NAME=your-email@gmail.com
SMTP_PASSWORD=your-app-specific-password
SMTP_DOMAIN=gmail.com
SMTP_AUTHENTICATION=login
SMTP_ENABLE_STARTTLS_AUTO=true
SMTP_TLS=false
SMTP_OPENSSL_VERIFY_MODE=peer
# SendGrid Configuration (alternative - recommended for production)
SENDGRID_API_KEY=your_sendgrid_api_key
# Mailgun Configuration (alternative)
MAILGUN_API_KEY=your_mailgun_api_key
MAILGUN_DOMAIN=mg.yourdomain.com
# AWS SES Configuration (alternative)
AWS_SES_ACCESS_KEY_ID=your_access_key
AWS_SES_SECRET_ACCESS_KEY=your_secret_key
AWS_SES_REGION=us-east-1