Pular para conteúdo

Build Configuration Contract

Required input

Name Required for Allowed value Example
NEXT_PUBLIC_API_URL Production web image build Absolute public HTTPS API base address, without a trailing slash https://prontuare-api.inviosat.com

Consumer behavior

  • The built browser application sends API requests to this address.
  • A development build without this value may use the documented local API address.
  • A production build without it, with an invalid URL, or with a localhost URL fails before it produces a deployable artifact.

Dokploy mapping

Configure NEXT_PUBLIC_API_URL=https://prontuare-api.inviosat.com under Build Time Arguments for the web application. It is not a runtime Environment Variable and not a secret. Rebuild after every value change.