mirror of
https://github.com/marcogll/coolify-n8n-evo.git
synced 2026-01-13 13:25:17 +00:00
Create .env.example
This commit is contained in:
76
.env.example
Normal file
76
.env.example
Normal file
@@ -0,0 +1,76 @@
|
||||
# ==============================================================================
|
||||
# TEMPLATE: Environment Variables for n8n + Evolution API Stack
|
||||
# ==============================================================================
|
||||
# This file is a template. DO NOT store secrets here.
|
||||
# Copy these variables into the Coolify UI and replace the placeholder values
|
||||
# with your actual data.
|
||||
# ==============================================================================
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
#=[ 1. GLOBAL & DOMAIN CONFIGURATION ]=
|
||||
#----------------------------------------------------------------------
|
||||
# Timezone for all services (e.g., America/Mexico_City, Europe/Madrid, UTC)
|
||||
TZ=America/New_York
|
||||
|
||||
# -- Custom Domains --
|
||||
# Replace 'your-domain.com' with your actual domain.
|
||||
SERVICE_FQDN_N8N=https://n8n.your-domain.com
|
||||
N8N_HOST=n8n.your-domain.com
|
||||
N8N_EDITOR_BASE_URL=https://n8n.your-domain.com
|
||||
WEBHOOK_URL=https://n8n.your-domain.com
|
||||
|
||||
SERVICE_FQDN_EVO=https://evolution.your-domain.com
|
||||
SERVER_URL=https://evolution.your-domain.com
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
#=[ 2. SECRETS & CREDENTIALS (SET THESE IN THE COOLIFY UI ONLY!) ]=
|
||||
#----------------------------------------------------------------------
|
||||
# Use a password manager to generate strong, random values for these.
|
||||
POSTGRES_USER=your_db_user
|
||||
POSTGRES_PASSWORD=changeme_your_strong_db_password
|
||||
EVOLUTION_API_KEY=changeme_your_secure_evolution_api_key
|
||||
N8N_SMTP_PASS=changeme_your_smtp_password
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
#=[ 3. DATABASE & CACHE CONFIGURATION ]=
|
||||
#----------------------------------------------------------------------
|
||||
# Logical database names (can usually be left as default)
|
||||
N8N_DB_NAME=n8n
|
||||
EVOLUTION_DB_NAME=evolution
|
||||
|
||||
# Redis connection URI (points to the renamed service 'redis_cache')
|
||||
CACHE_REDIS_ENABLED=true
|
||||
CACHE_REDIS_URI=redis://redis_cache:6379/6
|
||||
|
||||
# Database connection URIs (point to the renamed service 'pg_database')
|
||||
# These use the variables defined above, so they should work out-of-the-box.
|
||||
DB_POSTGRESDB_HOST=pg_database
|
||||
DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@pg_database:5432/${EVOLUTION_DB_NAME}
|
||||
DATABASE_CONNECTION_URI=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@pg_database:5432/${EVOLUTION_DB_NAME}
|
||||
CHATWOOT_IMPORT_DATABASE_CONNECTION_URI=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@pg_database:5432/${EVOLUTION_DB_NAME}
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
#=[ 4. N8N SMTP CONFIGURATION ]=
|
||||
#----------------------------------------------------------------------
|
||||
N8N_EMAIL_MODE=smtp
|
||||
N8N_SMTP_HOST=your.smtp.host
|
||||
N8N_SMTP_PORT=587
|
||||
N8N_SMTP_USER=your_smtp_user@your-domain.com
|
||||
N8N_SMTP_SENDER="Your n8n Sender Name"
|
||||
N8N_SMTP_SSL=true
|
||||
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
#=[ 5. EVOLUTION API CONFIGURATION ]=
|
||||
#----------------------------------------------------------------------
|
||||
# General settings for the Evolution API.
|
||||
# The defaults are sensible, but you can adjust them as needed.
|
||||
LANGUAGE=en
|
||||
AUTHENTICATION_EXPOSE_IN_FETCH_INSTANCES=true
|
||||
DEL_INSTANCE=false
|
||||
QRCODE_LIMIT=30
|
||||
# ... (add other specific Evolution API variables here if needed) ...
|
||||
Reference in New Issue
Block a user