Skip to content

chinaboard/habada

Repository files navigation

habada

Url shortener

img.png

Demo site

How to run

docker build

$ git clone https://github.com/chinaboard/habada.git
$ cd habada
$ make docker-build

docker depoly

$ docker run -d \
	--name habada \
	-p 3333:3333 \
	-e MYSQL_USER=dbuser \
	-e MYSQL_PASSWORD=dbpassword \
	-e MYSQL_HOST=dbhost:dbport \
	-e MYSQL_DATABASE=dbname \
	habada:latest

visit http://localhost:3333, or http://host-ip:3333 (as appropriate).