docker pull bjwbell/ejdb:latestdocker run -a stdin -a stdout -a stderr -i -t bjwbell/ejdbcd dockerimages/EJDB/go get -u github.com/drone/routesgo get -u github.com/pelletier/go-tomlgo run app.go app1.toml &go run app.go app2.toml &Examples for testing.
curl -i -H "Accept: application/json" -X POST -d "{\"email\":\"[email protected]\", \"country\": \"USA\", \"travel\":{\"flight\":{\"seat\":\"10B\"}}}" http://localhost:4001/profile
curl -i -H "Accept: application/json" -X PUT -d "{\"country\": \"CANADA\", \"travel\":{\"flight\":{\"seat\":\"99A\"}}}" http://localhost:4001/profile/[email protected]
curl -i -H "Accept: application/json" http://localhost:4002/profile/[email protected]
docker build -t ejdb .ejdb in the list of docker images docker imagesdocker tag 7d9495d03763(replace) bjwbell/ejdb:latestdocker login --username=bjwbell [email protected]docker push bjwbell/ejdbContent type
Image
Digest
Size
224.3 MB
Last updated
over 10 years ago
docker pull bjwbell/ejdb