[Go to site: main page, start]

Skip to content

Configuration ​

Puppetflow is configured with environment variables. This page covers settings intended for instance administrators. Flow-specific options remain in the application.

The Default column shows the application fallback when a variable is absent. .env.minimal.example and the production Compose stack override some defaults for their deployment model.

Application ​

VariableDefaultDescription
APP_NAMEPuppetflowApplication name shown in the interface and generated messages.
APP_ENVproductionEnvironment name.
APP_DEBUGfalseShows detailed errors when enabled. Keep disabled in production.
APP_URLhttp://localhostPublic application URL used in generated links.
APP_KEY-Encryption key generated with php artisan key:generate.
APP_DEFAULT_TIMEZONEUTCDefault timezone assigned to new users.
APP_AUTO_MIGRATEfalseRuns database migrations when the application container starts.
APP_SERVER_WORKERS-Number of workers used by the built-in PHP development server. It does not affect the production image.
APP_MEMORY_LIMIT512MRuntime memory limit applied to the web server, queue workers, and application commands in the official images.
APP_QUEUES_COUNTER1Number of indexed flow queues. It must match the available queue-N worker services. The production Compose files use 2.

Safe mode ​

VariableDefaultDescription
APP_SAFE_MODEfalseBypasses normal authentication and signs in as an instance administrator.

DANGER

Never enable APP_SAFE_MODE on a publicly accessible or production instance.

Licensing ​

VariableDefaultDescription
LICENSE_SERVER_URLhttps://lic.puppetflow.comLicense server used to activate and refresh a license.
LICENSE_MANAGED-Base64-encoded license file supplied by a managed deployment. Store this value as a secret.

Database, queue, cache, and sessions ​

VariableDefaultDescription
DB_CONNECTIONpgsqlDatabase driver. Supported values are pgsql and sqlite.
DB_HOST127.0.0.1Database host.
DB_PORT5432Database port.
DB_DATABASElaravelDatabase name.
DB_USERNAMErootDatabase username.
DB_PASSWORD-Database password.
DB_SSLMODEpreferPostgreSQL SSL mode.
DB_FOREIGN_KEYStrueEnables SQLite foreign key enforcement.
DB_SQLITE_BUSY_TIMEOUT5000SQLite lock wait timeout in milliseconds.
DB_SQLITE_JOURNAL_MODEWALSQLite journal mode.
DB_SQLITE_SYNCHRONOUSNORMALSQLite synchronization mode.
DB_SQLITE_TRANSACTION_MODEIMMEDIATESQLite transaction mode. Puppetflow requires IMMEDIATE.
QUEUE_CONNECTIONdatabaseQueue driver. Keep database unless using a durable external Redis service.
DB_QUEUE_RETRY_AFTER900Seconds before an unacknowledged database-queue job is retried.
CACHE_STOREdatabaseCache store. Keep database unless using a durable external Redis service.
SESSION_DRIVERdatabaseSession storage driver. Keep database unless using a durable external Redis service.
SESSION_LIFETIME120Session lifetime in minutes.
SESSION_ENCRYPTfalseEncrypt session data.
REDIS_CLIENTphpredisRedis client.
REDIS_HOST127.0.0.1Redis host.
REDIS_PORT6379Redis port.
REDIS_PASSWORD-Redis password.

The provided PostgreSQL container uses puppetflow for its database name and username. The application connection values must match the container configuration.

See Database for PostgreSQL and SQLite deployment requirements.

The Redis container included in the production Compose stack is non-persistent and intended only for browser stream coordination. Do not point queues or sessions at it. PostgreSQL is the durable default; Redis application drivers require an external Redis service with persistence and backups.

Social authentication ​

VariableDefaultDescription
SOCIALITE_ENABLEDfalseMaster switch for social sign-in.
SOCIALITE_GOOGLE_ENABLEDtrueEnables Google when social authentication is active.
SOCIALITE_GOOGLE_CLIENT_ID-Google OAuth client ID.
SOCIALITE_GOOGLE_CLIENT_SECRET-Google OAuth client secret.
SOCIALITE_GOOGLE_REDIRECT_URI-Google callback URL, usually ${APP_URL}/auth/google/callback.
SOCIALITE_GITHUB_ENABLEDtrueEnables GitHub when social authentication is active.
SOCIALITE_GITHUB_CLIENT_ID-GitHub OAuth client ID.
SOCIALITE_GITHUB_CLIENT_SECRET-GitHub OAuth client secret.
SOCIALITE_GITHUB_REDIRECT_URI-GitHub callback URL, usually ${APP_URL}/auth/github/callback.

Browser gateway ​

VariableDefaultDescription
PINOKIO_ENABLEDtrueEnables the Pinokio browser gateway.
PINOKIO_HOSTlocalhostPinokio host. Use pinokio with the provided Compose service.
PINOKIO_PORT3000Pinokio port.
PINOKIO_TOKEN-Token shared by Puppetflow and Pinokio.
PINOKIO_SECUREfalseUses wss:// instead of ws://.
PINOKIO_BROWSER_ARCHIVE_URL-.tar.gz containing a Chromium-based chrome executable that Pinokio downloads on first start and launches instead of the bundled Chromium. See Bring Your Own Browser.
PINOKIO_CHROME_EXTRA_ARGS-Extra whitespace-separated flags added to every browser launch.
BROWSER_DISABLE_WEB_SECURITYfalseDisables browser web security globally.
BROWSER_USER_AGENT-Instance-wide browser user agent. Workspace and flow settings override it. Empty uses the browser identity without its headless marker.
BROWSER_LANGUAGE-Instance-wide default browser language. Workspace and flow settings can override it.
BROWSER_TIMEZONE-IANA time zone applied to every browser session. Empty uses the host zone or derives one from the browser language.
BROWSER_IDENTITY_LOGtrueWhether run logs name the browser build serving the run (name, version, executable hash, user agent). Set to false on shared instances so users cannot read the exact browser version from their run logs.
BROWSER_HIDE_CDPtrueReduces observable Chrome DevTools Protocol side effects. Set to false to preserve Puppeteer console and page-error events.

When BROWSER_HIDE_CDP=true, the Runtime domain is disabled between navigations and Puppeteer's pptr: source markers are removed. This improves resistance to automation detection, but flow code cannot rely on page.on('console') or page.on('pageerror').

Grabber and blueprints ​

VariableDefaultDescription
GRABBER_CHROME_STORE_URLChrome Web Store listingChrome installation link shown by the Grabber onboarding dialog.
GRABBER_FIREFOX_STORE_URLFirefox Add-ons listingFirefox installation link shown by the Grabber onboarding dialog.
BLUEPRINTS_API_URLhttps://puppetflow.com/api/blueprintsAPI endpoint used to load public blueprints.
DOCUMENTATION_URLhttps://docs.puppetflow.comBase URL used by contextual documentation links in the application.

Outbound HTTP ​

VariableDefaultDescription
INTEGRATION_HTTP_ALLOW_HTTPtrueAllows integrations to call endpoints over unencrypted HTTP.
INTEGRATION_HTTP_ALLOW_PRIVATEtrueAllows integrations to call private and loopback addresses.
RUNNER_HTTP_REQUEST_ALLOW_PRIVATEfalseAllows flow code running in the sandbox to call private and loopback addresses.
RUNNER_HTTP_SNIFFING_MAX_BODY_BYTES5242880Maximum response body size retained by each network capture.

Nodal run previews ​

VariableDefaultDescription
RUNNER_NODAL_PREVIEW_MAX_HISTORY_BYTES1048576Maximum combined size of retained node snapshots and execution histories for one run. The most recent execution snapshots are removed first.
RUNNER_NODAL_PREVIEW_MAX_EXECUTIONS_PER_NODE3Maximum number of execution snapshots retained for each node. The first executions are kept; later ones are only counted. Each snapshot gets a share of the history budget, so raising this value also shrinks each retained iteration.
RUNNER_NODAL_PREVIEW_MAX_STRING_CHARS100Maximum length of a string value inside a snapshot. Longer strings are truncated with a ... (truncated) suffix.
RUNNER_INTERNAL_OUTPUT_MAX_BYTES4194304Maximum size of the preview file the server accepts from a run. Above this size the preview is dropped and the nodal editor shows a notice instead of runtime values.

Network capture bodies are never part of these snapshots: they are stored separately in the flow_run_sniff_bodies table, only for captures still referenced by a retained snapshot, and loaded on demand by the editor. They count toward the run storage size.

These limits affect only the run preview shown in the nodal editor. They do not change flow execution values or the final output. Restart queue workers after changing them.

Managed proxies ​

VariableDefaultDescription
MANAGED_PROXIES-JSON array of proxy servers provisioned as read-only resources in every workspace. Empty is equivalent to [].

Each entry accepts label, scheme, host, and port. It can also include key, country_code, group, username, and password.

dotenv
MANAGED_PROXIES='[{"key":"shared-fr","label":"Shared France","scheme":"http","host":"proxy.example.com","port":8080,"country_code":"FR","group":"Managed","username":"user","password":"secret"}]'

scheme must be http, https, socks4, or socks5. key is an optional stable identifier used to synchronize the entry across configuration changes. It defaults to label. Define an explicit key if the label may be renamed, so flows keep the same proxy assignment.

Managed proxies appear in the normal proxy table and flow proxy selector. Workspace users can use them, but cannot edit or delete them. Credentials are encrypted in the database and are never sent to the browser.

Removing an entry from MANAGED_PROXIES removes it from each workspace during the next synchronization. Flows specifically assigned to that proxy are reset to no proxy.

Live view ​

VariableDefaultDescription
BROWSER_STREAM_INTERNAL_URLhttp://localhost:6080Stream URL used by Puppetflow services.
BROWSER_STREAM_INTERNAL_PORT6080Stream server port.
BROWSER_STREAM_PUBLIC_URLhttp://localhost:6080Stream URL reached by users' browsers.
BROWSER_STREAM_ALLOWED_ORIGINS*Comma-separated application origins accepted by the stream server. Restrict this to the application origin in production.
BROWSER_STREAM_SECRET-Shared secret used to sign and verify stream access tokens. Must contain at least 32 characters.
BROWSER_STREAM_BIND_ADDRESS0.0.0.0Host address on which Compose publishes the stream server.
BROWSER_STREAM_PUBLIC_PORT6080Host port on which Compose publishes the stream server.
FLOW_RUN_SCREENCAST_QUALITY60Live-view image quality.
FLOW_RUN_SCREENCAST_NTH_FRAME1Sends one frame out of every configured number.

Run storage ​

VariableDefaultDescription
FLOW_EXECUTION_DIRdata/executionTemporary workspace used while a flow run is active.
APP_STORAGE_DISKpuppetflow-localDurable storage backend for completed run artifacts and application uploads.
APP_STORAGE_LOCAL_ROOTdata/storageLocal storage path used by the puppetflow-local backend.
APP_STORAGE_S3_PREFIX-Optional key prefix used by the puppetflow-s3 backend.
APP_STORAGE_R2_PREFIX-Optional key prefix used by the puppetflow-r2 backend.

See Storage for backend credentials and migration steps.

MCP and OAuth ​

VariableDefaultDescription
PASSPORT_PRIVATE_KEY-OAuth signing private key.
PASSPORT_PUBLIC_KEY-OAuth signing public key.
PASSPORT_CONNECTION-Optional database connection used by OAuth.
MCP_BROKER_ENDPOINThttps://mcp.puppetflow.com/mcpUniversal MCP broker endpoint shown in workspace settings.
MCP_BROKER_CALLBACK_URLhttps://mcp.puppetflow.com/oauth/tenant/callbackBroker callback accepted during tenant delegation.
MCP_CLIENT_ALLOW_HTTPfalseAllows outbound MCP client connections over unencrypted HTTP.
MCP_CLIENT_ALLOW_PRIVATEfalseAllows outbound MCP client connections to private or loopback addresses.

MCP token access does not require OAuth keys. OAuth clients require valid Passport keys.

Mail ​

Incoming mail ​

VariableDefaultDescription
MAILBOX_SMTP_PORT2525Host port published for incoming mailbox email.

Outgoing mail ​

VariableDefaultDescription
MAIL_MAILERlogMail transport. Use smtp to send invitations.
MAIL_SCHEME-SMTP scheme, such as tls or smtps.
MAIL_HOST127.0.0.1SMTP host.
MAIL_PORT2525SMTP port.
MAIL_USERNAME-SMTP username.
MAIL_PASSWORD-SMTP password.
MAIL_FROM_ADDRESSnoreply@puppetflow.comSender address.
MAIL_FROM_NAMEPuppetflowSender name.

Debugging ​

VariableDefaultDescription
ENABLE_BREAKPOINTfalseEnables interactive flow breakpoints. Development only.