go get github.com/go-sql-driver/mysql
go get github.com/gorilla/mux
Change informations of config.json and copy to /etc/statuzpage-api/config.json
Obs:. Token value is used on statuzpage-token header in all actions!
docker build -t statuzpage-api:latest .
docker run -d -p 8000:8000 statuzpage-api:latest
OR
docker run -d -p 8000:8000 -v /localDir/config.json:/etc/statuzpage-api/config.json nopp/statuzpage-api:latest
go build -o statuzpage-api .
./statuzpage-api
Content type
Image
Digest
Size
13.4 MB
Last updated
over 6 years ago
docker pull nopp/statuzpage-api