Ga naar hoofdinhoud

ENVIRONMENT_VARIABLES

Environment Variables

NameValue TypeRequiredSecretDescriptionExampleDefault (Dev)
ADMIN_JWT_SECRETbase64Secret for signing JSON Web Tokens for the Strapi DashboardpIUa5y9fIImYq2Nf92AUEw==``
API_TOKEN_SALTbase64Salt for generating API tokens. See: https://docs.strapi.io/dev-docs/configurations/api-tokensIC4EEAGXng5SMrQ/PLIG7w==``
APP_KEYSbase64-csvStrapi Dashboard session keys for the Users & Permissions plugin and the Documentation plugin. See: https://docs.strapi.io/dev-docs/configurations/serverHgsaHdyAo9hfQ0Fg8fsKpA==,wXd+qAHOW4SRbR66Xe1iXg==,kmzb3IBcHBSeR1yx5J0zbQ==,9dz6sBd8YqFIUxw0zCwEsQ==HgsaHdyAo9hfQ0Fg8fsKpA==,wXd+qAHOW4SRbR66Xe1iXg==,kmzb3IBcHBSeR1yx5J0zbQ==,9dz6sBd8YqFIUxw0zCwEsQ==
CSP_CONNECT_SRC_URLSurlSpace-separated list of URLs to allow in Content-Security-Policy for connect-srchttps://example.com https://api.example.com``
CSP_FONT_SRC_URLSurlSpace-separated list of URLs to allow in Content-Security-Policy for font-srchttps://fonts.googleapis.com https://fonts.gstatic.com``
CSP_FORM_ACTION_URLSurlSpace-separated list of URLs to allow in Content-Security-Policy for form-action````
CSP_FRAME_SRC_URLSurlSpace-separated list of URLs to allow in Content-Security-Policy for frame-src````
CSP_IMG_SRC_URLSurlSpace-separated list of URLs to allow in Content-Security-Policy for img-src````
CSP_SCRIPT_SRC_URLSurlSpace-separated list of URLs to allow in Content-Security-Policy for script-srchttps://unpkg.com/@utrecht/ https://unpkg.com/@nl-design-system/``
CSP_STYLE_SRC_URLSurlSpace-separated list of URLs to allow in Content-Security-Policy for style-srchttps://unpkg.com/@utrecht/ https://unpkg.com/@nl-design-system/``
CSP_WORKER_SRC_URLSurlSpace-separated list of URLs to allow in Content-Security-Policy for worker-src````
DATABASE_CLIENThostnameType of database to use for Strapi. See: https://docs.strapi.io/dev-docs/configurations/database``postgres
DATABASE_HOSThostnameDatabase hostname. When using Docker, this must be the hostname in the internal network. In Docker Compose the default is the name of the service.0.0.0.00.0.0.0
DATABASE_NAMEstringDatabase name where your SQL tables are at.my_databasepostgres
DATABASE_PASSWORDstringPassword for your database user.``root
DATABASE_PORTstringDatabase port number or container name. When using Docker, this can be the container name instead of a port number.pdc_strapi_dbpdc_strapi_db
DATABASE_SSLstringEnable SSL to use an encrypted connection. Typically false during development, and true in production.``false
DATABASE_USERNAMEstringUsername for your database.postgrespostgres
FLO_LEGAL_API_TOKENstringAPI token for the Flo Legal API, used to access legal documents and templates.xxxxxxxxxxxxxxxx
FLO_LEGAL_API_URLurlURL for the Flo Legal API, used to access legal documents and templates.https://example.com/api``
FLO_LEGAL_CDN_URLurlURL for the Flo Legal CDN, used to access legal documents and templates.``https://example.com
FRONTEND_PUBLIC_URLurlURL where the preview of pages in the Strapi Dashboard are hosted. You can use the Docker container name as the URL, for example: http://pdc_frontend:3000.``http://pdc_frontend:3000
HOSThostnameStrapi Dashboard hostname where users will access Strapi. Use 0.0.0.0 to respond to any hostname.0.0.0.00.0.0.0
JWT_SECRETbase64Secret for signing JSON Web Tokens for the Strapi APIpIUa5y9fIImYq2Nf92AUEw==``
MATOMO_HOSTurlURL where the Matomo is hostedhttps://example.comhttps://example.com
MATOMO_SITE_IDstringWebsite ID for the Matomo tracker API. See: https://matomo.org/faq/general/faq_19212/36D0C594-E017-485B-B032-C43636D0C594-E017-485B-B032-C436EC876E5B
NODE_ENVstringEnable production mode for Node.js. See: https://nodejs.org/en/learn/getting-started/nodejs-the-difference-between-development-and-production``production
OGONE_PAYMENT_SERVICE_URLurlURL of the Ogone payment form target. Typically you will use different values for acceptance and production.````
OPEN_FORMS_API_TOKENbase64Open Forms API token, used to access access forms from the website and the Strapi Dashboard. See: https://open-forms.readthedocs.io/en/stable/configuration/general/cms_integration.htmlpIUa5y9fIImYq2Nf92AUEw==pIUa5y9fIImYq2Nf92AUEw==
OPEN_FORMS_API_URLurlURL for the Open Forms v2 API. See: https://open-forms.readthedocs.io/en/stable/developers/embedding.html``http://localhost:8000/api/v2/
OPEN_FORMS_CSS_URLurlURL for the Open Forms SDK CSS file. See: https://open-forms.readthedocs.io/en/stable/developers/embedding.html``http://localhost:8000/static/sdk/open-forms-sdk.css
OPEN_FORMS_SDK_URLurlURL for the Open Forms SDK JavaScript file. See: https://open-forms.readthedocs.io/en/stable/developers/embedding.htmlhttp://localhost:8000/static/sdk/open-forms-sdk.jshttp://localhost:8000/static/sdk/open-forms-sdk.js
OVERIGE_OBJECTEN_API_CORSurlCORS settings for the Overige Objecten API. This is used to access the Overige Objecten API from the frontend.http://localhost:8000``
OVERIGE_OBJECTEN_API_PORTport-numberPort number for the Overige Objecten API. This is used to access the Overige Objecten API from the frontend.40014001
OVERIGE_OBJECTEN_API_URLurlURL for the Overige Objecten API. This is used to access the Overige Objecten API from the frontend.http://localhost:4001/api/v2http://localhost:4001/api/v2
PANDOSEARCH_API_URLurlSee: https://developer.pandosearch.com/api/``https://public.pandosearch.com/example.com/
PGADMIN_DEFAULT_EMAILstringE-mail address for the initial administrator account. See: https://www.pgadmin.org/docs/pgadmin4/development/container_deployment.htmladmin@admin.comadmin@admin.com
PGADMIN_DEFAULT_PASSWORDstringPassword for the initial administrator account. See: https://www.pgadmin.org/docs/pgadmin4/development/container_deployment.htmlrootroot
PORTnumberStrapi Dashboard port number.13371337
PREVIEW_SECRET_TOKENbase64Configure Strapi Dashboard and the website with the same secret, to be able to show unpublished content in preview mode.``SGVsbG8sIHdvcmxkIQ==
STRAPI_ADMIN_EXTENSIONS_PORTport-numberPort number for the Strapi Admin Extensions. This is used to access the Strapi Admin Extensions from the frontend.40024002
STRAPI_ENV_LABELstringText describing the environment, used to warn users of Strapi Dashboard when they are not working in production. Can not be localized.``Development
STRAPI_PRIVATE_URLURL where Strapi is available on the internal network, for example to access the GraphQL API. You can use the Docker container name, e.g. http://pdc_strapi:1337.http://pdc_strapi:1337http://pdc_strapi:1337
STRAPI_PUBLIC_URLurlURL where Strapi is available to the public. You can use the Docker container name, e.g. http://pdc_strapi:1337.http://pdc_strapi:1337http://pdc_strapi:1337
SURVEY_RUN_APIKEYstringAPI key for the Survey Run, used to access the Survey Run from the frontend.CE1E9957-EB87-4581-8EDC-0B35D67D548DCE1E9957-EB87-4581-8EDC-0B35D67D548D
SURVEY_RUN_GUIDstringGUID for the Survey Run, used to identify the specific survey instance.E305616D-6548-4F84-9C34-59C20A8F0267E305616D-6548-4F84-9C34-59C20A8F0267
SURVEY_RUN_URLurlURL where the Survey Run is hosted. This is used to access the Survey Run from the frontend.http://localhost:8000https://example.com
TRANSFER_TOKEN_SALTbase64Salt for generating Transfer tokens. If no transfer token salt is defined, transfer features will be disabled. See: https://docs.strapi.io/user-docs/settings/transfer-tokensHtHorFUigcXPMtDF/kAHcQ==``