# .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
