Skip to main content
The 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
Generate a strong secret for server.secret. Use at least 32 characters with a mix of letters, numbers, and special characters.If you need to CHANGE the server secret after the server has been started you must use the pangctl rotate-server-secret command to re-encrypt sensitive data. Follow docs here.

Reference

This section contains the complete reference for all configuration options in config.yml.

Application Settings

object
required
Core application configuration including dashboard URL, logging, and general settings.

Server Configuration

object
required
Server ports, networking, and authentication settings.

Domain Configuration

object
required
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

object
Traefik reverse proxy configuration settings.

Gerbil Tunnel Controller

object
required
Gerbil tunnel controller settings for WireGuard tunneling.

Organization Settings

object
Organization network configuration settings.

Rate Limiting

object
Rate limiting configuration for API requests.

Email Configuration

object
SMTP settings for sending transactional emails.

Feature Flags

object
Feature flags to control application behavior.

Database Configuration

object
PostgreSQL database configuration (optional).

Logs Database

object
Configuration for an optional, separate PostgreSQL database dedicated to logs, kept apart from the main application database.

ACME Configuration

The ACME config for syncing the certs used to be in the private config file but has moved to the public config file here. Please update config accordingly.
object
Configuration for ACME certificate synchronization. Used in conjunction with flags.enable_acme_cert_sync to synchronize TLS certificates issued by Traefik (or another ACME client) into Pangolin for use on private resources.

AI Model Catalog

The catalog feeds Known Models pickers, wildcard discovery, provider selection, and usage pricing. See Model Catalog for the JSON format, catalog providers, and how budgets use pricing.
object
AI Gateway catalog settings. Omit this block to use the defaults.

Environment Variables

Some configuration values can be set using environment variables for enhanced security: