For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

IPv6 Support

Remarkably, this setup allows hosting Bitcart in IPv6-only environment! You can proxy Bitcart using Cloudflare, just add DNS AAAA record and enable proxy ("orange cloud"). This being will enable serving IPv4-only customers even without having dedicated IPv4 address.

To enable IPv6 support in Bitcart for Docker deployment, changes to Docker daemon must be applied. In the file /etc/docker/daemon.json, the following parameters must be added:

  • "ipv6": true

  • "fixed-cidr-v6": "2001:db8:1::/64"

  • "default-address-pools":

"default-address-pools": [
  {"base":"172.17.0.0/16","size":16},
  {"base":"172.18.0.0/16","size":16},
  {"base":"172.19.0.0/16","size":16},
  {"base":"172.20.0.0/14","size":16},
  {"base":"172.24.0.0/14","size":16},
  {"base":"172.28.0.0/14","size":16},
  {"base":"192.168.0.0/16","size":20},
  {"base":"2001:db8::/56","size":64}
]

Please note that 2001:db8:1::/64 and 2001:db8::/56 must be changed to the IPv6 prefix provisioned by your hosting provider. Final file should look a similar way:

{
  "ipv6": true,
  "fixed-cidr-v6": "2001:db8:1::/64",
  "default-address-pools": [
    {"base":"172.17.0.0/16","size":16},
    {"base":"172.18.0.0/16","size":16},
    {"base":"172.19.0.0/16","size":16},
    {"base":"172.20.0.0/14","size":16},
    {"base":"172.24.0.0/14","size":16},
    {"base":"172.28.0.0/14","size":16},
    {"base":"192.168.0.0/16","size":20},
    {"base":"2001:db8::/56","size":64}
  ],
  "log-driver": "json-file",
  "log-opts": {"max-size": "5m", "max-file": "3"}
}

After saving /etc/docker/daemon.json configuration file, ensure to apply the new settings:

The last step is to enable IPv6 support in Bitcart:

Now, you are ready to add DNS AAAA record to your domain registrar or at Cloudflare dashboard.

Last updated

Was this helpful?