quick try using docker abhishekkr/dory:0.3-alpine
docker run -it -p8080:8080 abhishekkr/dory:latest
Share your secret with a fish that have short term memory.
When you run dory
, webserver by default will be available at :8080 and hosts help document for quick overview.
Current Features:
can also reach permanent (disk persisted, non-ttl) memories in Dory by providing
GET Param
aspersist=true
provides local auth-store backed by
cache2go
and encrypted by AES cryptoallows POST, GET and DELETE for a
auth identifier path
(likehttp://dory.local:8080/local-auth/:identifier
) to store, fetch and purge datasuccessful POST of data at
auth identifier path
returns referenceX-DORY-TOKEN
mapped with thisauth identifier path
, this token need to be sent as value of this headerX-DORY-TOKEN
for GET and DELETE.created secret store have default TTL of 5minutes, custom TTL can be set as URL Param in POST request by value of
ttlsecond
in secondsfirst GET of secret will purge it from store, unless GET Param
keep=true
is provided
- How To Fetch Dependencies
./go-tasks deps
- How To Build
following command will create a ./bin directory an create multi platform binaries there to run will also fetch dependencies if not done already
default it runs at
:8080
, to run it at any other port (or IP::PORT), export environment variableDORY_HTTP
with required listen-at value before runningdory
in that env scope.
./go-tasks build
- How To Use LocalAuth
building docker with custom local binary
docker build -t abhishekkr/dory:alpha -f w3assets/Dockerfile .