- Base 1.6.1 couchdb image from klaemo/docker-couchdb
- Adds the JWT auth plugin softapalvelin/couch_jwt_auth, and fixes some dependencies so it works.
- Apply a config file with JWT settings.
To run it with your own JWT secret,
- Replace
local.ini
with your own CouchDB settings, or use as-is. Note that the included file enables CORS. - Modify
jwt_auth.ini
to include your secret key (base64url encoded -- not plain base64). See softapalvelin/couch_jwt_auth for more information on what can go there. - Build it with
docker build -t yourname/couchdb-jwt .
- Run with
run.sh
or see couchdb on Dockerhub for more ways to run.