simple gist like service in go
# run a mysql
$ docker run --name mysql -e MYSQL_ALLOW_EMPTY_PASSWORD=true -v `pwd`/create-gost.sql:/docker-entrypoint-initdb.d/create-db.sql -d mysql
# start services
$ docker run --name gost -d --link mysql:mysql -p 8000:8000 -e JWT_SECRET=secret \
-e GIN_MODE=debug \
-e MYSQL_DB_URL="root:@tcp(mysql:3306)/gost?charset=utf8&parseTime=True&loc=Local" \
zcong/gost
see http://gost-docs.congz.pw
MIT © zcong1993
Content type
Image
Digest
Size
5.2 MB
Last updated
over 8 years ago
docker pull zcong/gost