Skip to main content

Environment variables

Settings that must exist before the database does are environment variables (or appsettings.json keys with : instead of __). Everything else is in Admin → Platform settings.

VariableDefaultMeaning
PayLink__DataRootApp_Data next to the app; /app/App_Data in DockerThe data folder.
PayLink__SetupCodegeneratedChoose the setup code instead of a generated one.
PayLink__MasterKeynone (key kept in bootstrap.db)Base64 32-byte key for stored secrets, kept outside the data folder.
PayLink__TrustedProxiesnoneComma-separated proxy IPs whose X-Forwarded-For and X-Forwarded-Proto are trusted.
PayLink__LoginLink__DefaultServerhttps://loginlink.websvc.inThe LoginLink address setup fills in.
PayLink__LoginLink__AllowHttpfalseAllow plain HTTP to LoginLink beyond loopback addresses. Not for production.
PayLink__Webhooks__AllowPrivateNetworksfalseLet webhooks reach private and local addresses.
PayLink__Jobs__IntervalSeconds10How often background jobs run; 0 turns them off.
PayLink__Connectors__AllowedPackagePrefixesWebSvc.PayLink.Connector.Comma-separated package id prefixes that may be installed as connectors.
ASPNETCORE_HTTP_PORTS8080 in DockerThe port PayLink listens on.