Try free on Pangolin Cloud
Fastest way to get started with Pangolin using the hosted control plane. No credit card required.
config.yml file controls all aspects of your Pangolin deployment, including server settings, domain configuration, email setup, and security options. This file is mounted at config/config.yml in your Docker container.
Setting up your config.yml
To get started, create a basic configuration file with the essential settings:
Minimal Pangolin configuration:
config.yml
Reference
This section contains the complete reference for all configuration options inconfig.yml.
Application Settings
Core application configuration including dashboard URL, logging, and general settings.
Server Configuration
Server ports, networking, and authentication settings.
Domain Configuration
Domain settings for SSL certificates and routing.At least one domain must be configured.It is best to add it in the UI for ease of use or when you want the
domain to only be present in the org it was created in.You should create it in the config file for permanence across installs
and if you want the domain to be present in all orgs.
Traefik Integration
Traefik reverse proxy configuration settings.
Gerbil Tunnel Controller
Gerbil tunnel controller settings for WireGuard tunneling.
Organization Settings
Organization network configuration settings.
Rate Limiting
Rate limiting configuration for API requests.
Email Configuration
SMTP settings for sending transactional emails.
Feature Flags
Feature flags to control application behavior.
Database Configuration
PostgreSQL database configuration (optional).
Environment Variables
Some configuration values can be set using environment variables for enhanced security:| Name | Variable | Config |
|---|---|---|
| Server Secret | SERVER_SECRET | server.secret |
| Email Username | EMAIL_SMTP_USER | email.smtp_user |
| Email Password | EMAIL_SMTP_PASS | email.smtp_pass |
| PostgreSQL Connection String | POSTGRES_CONNECTION_STRING | postgres.connection_string |
| PostgreSQL Replica Connection Strings | POSTGRES_REPLICA_CONNECTION_STRINGS | postgres.replicas (comma-separated list of connection strings) |
| PostgreSQL Logs Connection String | POSTGRES_LOGS_CONNECTION_STRING | postgres_logs.connection_string |
| Enable SQLite WAL Mode | ENABLE_SQLITE_WAL_MODE | (SQLite only) Set to true to enable WAL mode for improved SQLite concurrency |

