Configuration file

Describe configuration file fields and how to change configuration in docker container

Configuration file

// if true validate auth header by tg_bot_token
production: false

// Need full database url with user data
database_url: "" 
 // Telegram bot token just for validation window.Telegram.WebApp.initData
tg_bot_token: ""

// Set database tag, need to be deprecated
birdeye_network_tag: "solana" 

// Full url of wallet service
vault_url: "" 
// Access token for wallet service
vault_access_token: "" 

// Join url for referral links
join_url: "https://t.me/jupfast_bot?start=" 

// Jupiter configuration
// Visit https://referral.jup.ag
slippage_bps: 2.5       // default value, 
platform_fee_bps: 2.5.  // default value
jupiter_private_key: "" // Referal key, obtained from referral.jup.ag
jupiter_referal_key: "" // Solana wallet used for sign on referral.jup.ag


Updating configuration file

Edit configuration file on server

sudo nano config.yaml

Restart Api service container by command

sudo docker restart <api-container-name>

Check container logs

sudo docker logs -f -n 10 <api-container-name>

Last updated