2023-05-20 22:13:02 +01:00
|
|
|
# Environment variable defaults for node and sveltekit
|
|
|
|
# NOTE: variables prefixed with 'PUBLIC_' are visible to clients!
|
|
|
|
|
2023-05-20 17:28:01 +01:00
|
|
|
PUBLIC_TITLE="Example TODO App"
|
|
|
|
PUBLIC_DESCRIPTION="An example TODO app built with sveltekit and fastapi."
|
|
|
|
PUBLIC_AUTHOR="John Doe"
|
2023-05-20 22:13:02 +01:00
|
|
|
|
2023-06-04 12:04:27 +01:00
|
|
|
# These set how node serves the sveltekit app
|
2023-05-20 22:13:02 +01:00
|
|
|
HOST="0.0.0.0"
|
|
|
|
PORT="3000"
|
|
|
|
|
|
|
|
# WARNING: only set these if running behind a trusted reverse proxy!
|
|
|
|
# See `https://kit.svelte.dev/docs/adapter-node#environment-variables-origin-protocol-header-and-host-header`.
|
2023-06-04 12:04:27 +01:00
|
|
|
#ORIGIN=http://localhost
|
2023-05-20 22:13:02 +01:00
|
|
|
PROTOCOL_HEADER="x-forwarded-proto"
|
|
|
|
HOST_HEADER="x-forwarded-host"
|
|
|
|
|
|
|
|
# See `https://kit.svelte.dev/docs/adapter-node#environment-variables-address-header-and-xff-depth`.
|
|
|
|
ADDRESS_HEADER="True-Client-IP"
|
|
|
|
|
|
|
|
# Maximum request body size to accept in bytes.
|
|
|
|
# See `https://kit.svelte.dev/docs/adapter-node#environment-variables-body-size-limit`.
|
|
|
|
BODY_SIZE_LIMIT="1048576"
|