77 lines
2.5 KiB
Plaintext
77 lines
2.5 KiB
Plaintext
# DevOps Skill - Environment Variables
|
|
|
|
# =============================================================================
|
|
# Cloudflare Configuration
|
|
# =============================================================================
|
|
# Get these from: https://dash.cloudflare.com
|
|
# API Token: Profile -> API Tokens -> Create Token
|
|
# Account ID: Overview -> Account ID (right sidebar)
|
|
|
|
CLOUDFLARE_API_TOKEN=your_cloudflare_api_token_here
|
|
CLOUDFLARE_ACCOUNT_ID=your_cloudflare_account_id_here
|
|
|
|
# Optional: Specific zone configuration
|
|
# CLOUDFLARE_ZONE_ID=your_zone_id_here
|
|
|
|
# =============================================================================
|
|
# Google Cloud Configuration
|
|
# =============================================================================
|
|
# Authentication via service account key file or gcloud CLI
|
|
# Download from: IAM & Admin -> Service Accounts -> Create Key
|
|
|
|
# Option 1: Service account key file path
|
|
GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account-key.json
|
|
|
|
# Option 2: Project configuration
|
|
# GCP_PROJECT_ID=your-project-id
|
|
# GCP_REGION=us-central1
|
|
# GCP_ZONE=us-central1-a
|
|
|
|
# =============================================================================
|
|
# Docker Configuration
|
|
# =============================================================================
|
|
# Optional: Docker registry authentication
|
|
|
|
# Docker Hub
|
|
# DOCKER_USERNAME=your_docker_username
|
|
# DOCKER_PASSWORD=your_docker_password
|
|
|
|
# Google Container Registry (GCR)
|
|
# GCR_HOSTNAME=gcr.io
|
|
# GCR_PROJECT_ID=your-project-id
|
|
|
|
# AWS ECR
|
|
# AWS_ACCOUNT_ID=123456789012
|
|
# AWS_REGION=us-east-1
|
|
|
|
# =============================================================================
|
|
# CI/CD Configuration
|
|
# =============================================================================
|
|
# Optional: For automated deployments
|
|
|
|
# GitHub Actions
|
|
# GITHUB_TOKEN=your_github_token
|
|
|
|
# GitLab CI
|
|
# GITLAB_TOKEN=your_gitlab_token
|
|
|
|
# =============================================================================
|
|
# Monitoring & Logging
|
|
# =============================================================================
|
|
# Optional: For observability
|
|
|
|
# Sentry
|
|
# SENTRY_DSN=your_sentry_dsn
|
|
|
|
# Datadog
|
|
# DD_API_KEY=your_datadog_api_key
|
|
|
|
# =============================================================================
|
|
# Notes
|
|
# =============================================================================
|
|
# 1. Copy this file to .env and fill in your actual values
|
|
# 2. Never commit .env file to version control
|
|
# 3. Use different credentials for dev/staging/production
|
|
# 4. Rotate credentials regularly
|
|
# 5. Use least-privilege principle for API tokens
|