A simple web based boltdb GUI Admin panel.
The easiest way to get the container running is with docker-compose - a basic example can be found here.
Make a .env and add the following variables:
- HOST_PORT: The port that will bind to the exposed port in the container
- DB_FILE: The path to the database file to be displayed in in the browser
Then start the container
docker-compose --env-file .env up -d
Simply clone the repository and build the image
docker build --tag boltdbweb .
And then run the image
docker run -d -p 8080:8080 -v /mydb.db:/database.db boltdbweb
If everything went well you should now be running on http://localhost:8080
go get github.com/mzrimsek/boltdbweb
boltdbweb --db-name=<DBfilename>[required] --port=<port>[optional] --static-path=<static-path>[optional]
--db-name:
The file name of the DB.- NOTE: If 'file.db' does not exist. it will be created as a BoltDB file.
--port:
Port for listening on... (Default: 8080)--static-path:
If you moved the binary to different folder you can determin the path of theweb
folder. (Default: Same folder where the binary is located.)
boltdbweb --db-name=test.db --port=8089 --static-path=/home/user/github/boltdbweb
Goto: http://localhost:8089