Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Latest commit

 

History

History
27 lines (17 loc) · 931 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 931 Bytes

PouchDB Server

This image is based on the latest Node.JS LTS Alpine image, PouchDB Server, and levelDB.

Run the container, binding a data directory.

docker run -d -p 5984:5984 -v /path/to/data:/pouchdb --hostname=pouchdb-server --name=pouchdb-server eingressio/pouchdb-server

You can then browse to the admin panel at http://localhost:5984/_utils/.

CLI Tools

To close the admin party by creating the first admin user, run the following.

docker exec -it pouchdb-server add-admin [name]

A password is auto-generated which should be retained (or get ready to hose your data directory).

You can also make as many regular users as you need.

docker exec -it pouchdb-server add-user [name]