Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

2.0 KB
Raw Blame
# Coolify Configuration
APP_ENV=local
APP_NAME=Coolify
APP_ID=development
APP_KEY=
APP_URL=http://localhost
APP_PORT=8000
APP_DEBUG=true
SSH_MUX_ENABLED=true
COOLIFY_CONTAINER_ROLE=all
DEV_SENTINEL_URL=
# IPv4 address for seeded sslip.io domains (server wildcard domain and example apps). Empty uses 127.0.0.1.
# Set it to a LAN or Tailscale IP to reach seeded deployments from other devices, then reseed.
DEV_SEED_IP=

# PostgreSQL Database Configuration
DB_DATABASE=coolify
DB_USERNAME=coolify
DB_PASSWORD=password
DB_HOST=host.docker.internal
DB_PORT=5432

# Read/write replicas (optional). Set DB_READ_HOST to enable the read/write split.
# Hosts may be comma-separated. Port/username/password fall back to DB_* when unset.
# DB_READ_HOST=replica1,replica2
# DB_READ_PORT=5432
# DB_READ_USERNAME=coolify
# DB_READ_PASSWORD=
# DB_WRITE_HOST=
# DB_WRITE_PORT=5432
# DB_WRITE_USERNAME=coolify
# DB_WRITE_PASSWORD=
# DB_STICKY=true



# Coolify Cloud Horizon pools (only used when SELF_HOSTED=false and APP_ENV=production).
# Fixed worker count per node and queue. See docs/cloud-horizon-workers.md.
# HORIZON_DEPLOYMENTS_PROCESSES=60
# HORIZON_CRONS_PROCESSES=60
# HORIZON_HIGH_PROCESSES=60
# HORIZON_DEFAULT_PROCESSES=40
# Docker cleanups; small on purpose to bound concurrent slow remote prunes.
# HORIZON_MAINTENANCE_PROCESSES=10
# GitHub pull request webhooks and Stripe events.
# HORIZON_WEBHOOKS_PROCESSES=10

# Server-Timing headers + on-screen HUD (defaults ON when APP_ENV=local).
# Force on in any environment (including production): SERVER_TIMING_ENABLED=true
# Force off even in local: SERVER_TIMING_ENABLED=false
# SERVER_TIMING_ENABLED=true

# Vite dev server. Defaults to localhost. For phone/LAN/Tailscale access, set to
# the host machine's reachable IP (e.g. VITE_HOST=100.75.155.70), then recreate vite.
VITE_HOST=localhost
VITE_PORT=5173

# Selenium Driver URL for Dusk
DUSK_DRIVER_URL=http://selenium:4444

# Special Keys for Andras
# For Cloudflare cache purging (token needs Zone > Cache Purge)
CLOUDFLARE_API_TOKEN=
CLOUDFLARE_ZONE_ID=