leshik / bisq-docker

Bisq in Docker with VNC
MIT License
5 stars 4 forks source link

Bisq in Docker with noVNC

This is a set of files to make Bisq run in Docker on the hardware you control, including Raspberry PI, with the external tor and noVNC for the remote access. Don't use this on public cloud such as AWS!

Using

Clone this repo, then copy .env.example to .env and edit it according to your needs. The following environment variables are used:

The following volumes are created to store tor and Bisq data:

Be sure to backup tor-data and user-data to preserve your www address and wallet.

Then you just launch it with docker-compose up -d. It binds to the 8080 port so that you may access it from your LAN. Don't expose this to the Internet, it's unenctypted!

The cool part, you can use e.g. Private Window with Tor in Brave browser, or similar to access it from anywhere! To make this work, get your tor address:

docker-compose exec tor cat /var/lib/tor/www/hostname

When using tor, the connection is encrypted, despite the Not secure badge in the browser. The noVNC complain regarding unencrypted connection concerns the link between noVNC and tighVNC which is inside Docker and moreover is only on localhost anyway.

Raspberry Pi

There are several things that needs to be addressed to make Bisq work with acceptable speed on Raspberry Pi (assuming RPi 3B+ or better):

Be patient, initial sync takes a long time. While syncing, Bisq GUI becomes unresponsive on RPi. After the sync is complete, go to settings and disable prevent standby setting. It doesn't have much sense inside Docker, but generates unnecessary warnings about Bisq inability to access the audio device.