ROBYN_PORT: Specifies the port on which the Robyn server will listen.
Example: ROBYN_PORT=8080
ROBYN_HOST: Specifies the host address for the Robyn server.
Example: ROBYN_HOST=127.0.0.1
ROBYN_MAX_PAYLOAD_SIZE: Sets the maximum payload size for requests in bytes.
Default value: 1000000 bytes
Example: ROBYN_MAX_PAYLOAD_SIZE=1000000
These environment variables are typically set in a robyn.env file located at the root of the project. The server parses this file at startup to configure itself accordingly.
For more details on the structure and usage of the robyn.env file, refer to the documentation snippet:
bash {{title: 'Sample project directory'}}
--project/
--robyn.env
--index.py
...
bash {{ title: 'Sample Robyn.env' }}
ROBYN_PORT=8080
ROBYN_HOST=127.0.0.1
RANDOM_ENV=123
bash
also add support for if not supported