Skip to the content
Documentation

[TriggerSettings]

No ratings yet

Available since Exponential 6.0.15 (in development, not in a release yet).

Summary

The group [TriggerSettings] of settings/migration.ini.

File

settings/migration.ini; override it in settings/override/migration.ini.append.php, in a siteaccess or in an extension.

Settings

Setting Default Description
Trigger disabled The signed HTTP trigger: a source installation that reaches this one by FTP only runs the migrations here through the view migration/trigger (POST, JSON). Each request is signed with HMAC-SHA256 with the secret Secret names, used once (its nonce), valid for Lifetime seconds, and only taken from AllowedAddresses[]. Guide: doc/eng-us/guides/migrations-remote-deploy.md ("FTP remotes with the HTTP trigger")
Secret (empty) The secret the requests are signed with: a name of the secret store (Setup > Secrets) or env:VARIABLE, at least 16 characters; the source's TriggerSecret holds the same value. Never the secret itself.
AllowedAddresses[] (empty array) The addresses (or CIDR ranges, 192.0.2.0/24, 2001:db8::/32) the source connects from. Empty: no request is taken.
Lifetime 300 Seconds a signature is valid after it was issued.
MaxRequestsPerMinute 30 At most this many requests a minute (429 above).
Php php The PHP CLI that runs the console scripts, and how many seconds one may take.
Timeout 900  
AllowRootUser disabled enabled: the console scripts run with --allow-root-user (only when the web server's PHP runs as root).

See also

Generated example: migration.ini [TriggerSettings]

Added to the reference for Exponential 6.0.15: the 4.x reference had no page for this group. The descriptions are the comment lines of settings/migration.ini.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.