# .env file variables

Example .env file:

```
SERVER_PORT=8086 # Port where the server should run
WEB_URL=http://example.com # Url of the server (with port)
CAPTCHA=eadjfij4tfy4wuf4wuyfhg4u # reCaptcha secret (make sure to also put the public in the merchant register page!!)dotRATE_LIMIT=10 # How many requests can be made per minute
RATE_LIMIT=10 # How many requests can be made per minute
    ## Database config ##
DB_HOST=1.2.3.4 # database ip
DB_USER=administator
DB_PASS=12345678
# Name of the database you created #
DB_NAME=VitePay
# Passphrase to encrypt database entries (seeds) #
ENCRYPT_KEY=kduw28
    ## Merchant Config ##
# Length of the API key generated (recommended 12-32)#
APIKEY_LENGTH=18

    ## Vite Config ##
# Node URL (HTTP not WebSocket!)
NODE_URL=https://node-vite.imal.dev
```

* SERVER\_PORT => Port on which the webserver should run on.
* WEB\_URL => URL of the VitePay instance
* CAPTCHA => reCaptcha Secret
* RATE\_LIMIT => Limit on how many requests can be made on specific routes.
* DB\_HOST => MariaDB Server IP
* DB\_USER => MariaDB Server username
* DB\_PASS => MariaDB User password
* DB\_NAME => Name of the VitePay database
* ENCRYPT\_KEY => Passphrase used to encrypt database entries (seeds)
* APIKEY\_LENGTH => How long should API keys be (recommended 12-32)
* NODE\_URL => Vite Node HTTP url


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pay.imal.dev/self-hosted/.env-file-variables.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
