BitcartCC uses docker for deployment. This allows us to simplify the installation and make BitcartCC installable in almost any environment.
Currently BitcartCC runs on 2 architectures: amd64 (most PC and servers), arm64 (raspberry pi). Arm32 is not supported officially anymore.
Almost every docker deployment starts like that:
sudo su -
git clone https://github.com/bitcartcc/bitcart-docker
# export needed settings, for example
There are different environment variables available in order to customize the deployment
Environment variables are set like so:
Here are the main ones:
BITCART_HOSTconfigures on which domain BitcartCC should run. It is required unless you use any of the methods from local deployment. It works in one domain mode. Your BitcartCC Store will be accessible at
BITCART_HOST, admin panel at /admin and Merchants API at /api. For other ways of configuration (for example different servers), check the one domain guide
BITCART_CRYPTOSconfigures which coins to enable. It is a list of coin symbols separated by commas. By default only btc is enabled. For example, to enable btc and eth, you would run
BITCART_REVERSEPROXY- configures the reverse proxy used. By default
nginx-httpsis used (with automatic ssl certificates generation). It might be useful to disable it to access your services directly or you can set it to
nginxto disable ssl
BITCART_ADDITIONAL_COMPONENTS- you can add additional components to your deployment. For example, using
export BITCART_ADDITIONAL_COMPONENTS=torenables tor.
There are also quite a few settings related to configuring coins in BitcartCC. Each coin has the same set of settings you can configure:
COIN_NETWORKchanges on which network the coin runs. For example:
export BTC_NETWORK=testnetwould enable testnet in BTC coin with no other changes required!
COIN_LIGHTNINGenables lightning network for coins which support it (BTC-based). For BTC you would do:
COIN_DEBUGenables debug mode for daemons to log more information. For example
COIN_SERVERconfigures the daemon to use exact server you specify instead of connecting to many servers at once. For example
export BNB_SERVER=https://bsc-dataseed.binance.orgFor btc-based coins, you can set up your own ElectrumX or Fulcrum server with your own full node. For eth-based coins, server is your full node's RPC url.