Skip to content

Deploy GUI Web Server using Docker

Sean edited this page Jan 16, 2022 · 3 revisions

Install Docker Using: https://docs.docker.com/engine/install/ubuntu/

Install Docker-compose using: https://docs.docker.com/compose/install/

Git Clone both the GoDBLedger and the GoDBLedger-web repos:

git clone https://github.com/darcys22/godbledger.git
git clone https://github.com/darcys22/godbledger-web.git

Install Go:

sudo apt install golang

Edit the config file in godbledger-web to change the protocol to https and domain to your own custom domain that the server will be deployed at (This can also be done by just opening up the /conf/defaults.ini file and editing the protocol and domain lines:

sed -i 's/protocol = http/protocol = https/g' ~/godbledger-web/conf/defaults.ini

Make both repos using docker:

cd godbledger
## Make sure you are on correct branch. Master for stable. Dev for unstable
git checkout dev
make docker-build
cd ../godbledger-web
make docker-build

Then from the godbledger-web folder run the docker container with

make docker-start

Connect metabase using docker to godbledger

docker run --name metabase -e MB_JETTY_HOST=0.0.0.0 -p 3000:3000 --network=godbledger-web_default metabase/metabase