Commit a6db078f authored by Dave Lane's avatar Dave Lane Committed by GitHub

Update README.md

Refining as I learn more.
parent 3412616a
......@@ -4,25 +4,26 @@ See https://github.com/klaemo/docker-couchdb for documentation
# Starting CouchDB
docker run -d --name couchdb -v /home/dave/Docker/couchdb/data:/opt/couchdb/data oeru/couchdb
> docker run -d --name couchdb -v /home/dave/Docker/couchdb/data:/opt/couchdb/data oeru/couchdb
# Old
Built via: docker build -t oeru/couchdb .
Built via: `docker build -t oeru/couchdb .`
## Building and Running Containers
cd [path to wenotes-combined]
> cd [path to wenotes-combined]
### CouchDB
Build: docker build -t oeru/couchdb docker-couchdb
Build: `docker build -t oeru/couchdb docker-couchdb`
Launch (replacing [admin password] and [bot password]):
docker run --name couchdb -v /home/dave/Docker/wenotes/data:/opt/couchdb/data \
-e COUCHDB_USER=admin -e COUCHDB_PASSWORD=[admin password] \
-e COUCHDB_BOT_USER=bot -e COUCHDB_BOT_PASSWORD=[bot password] \
-d oeru/couchdb
> docker run --name couchdb -v /home/dave/Docker/wenotes/data:/opt/couchdb/data \
> -e COUCHDB_USER=admin -e COUCHDB_PASSWORD=[admin password] \
> -e COUCHDB_BOT_USER=bot -e COUCHDB_BOT_PASSWORD=[bot password] \
> -d oeru/couchdb
### Backup/Restore
......@@ -30,16 +31,18 @@ Do a database dumps and restores using couchdb-backup.sh - from https://github.c
### Faye
Build: docker build -t oeru/faye docker-faye
Build: `docker build -t oeru/faye docker-faye`
Launch:
docker run --name faye -v /home/dave/Docker/wenotes/faye:/opt/wenotes/server \
-v /home/dave/Docker/wenotes/config/options.json:/opt/wenotes/options.json \
-d oeru/faye
> docker run --name faye -v /home/dave/Docker/wenotes/faye:/opt/wenotes/server \
> -v /home/dave/Docker/wenotes/config/options.json:/opt/wenotes/options.json \
> -d oeru/faye
### WENotes-tools
Build: docker build -t oeru/wenotes docker-wenotes-tools
Build: `docker build -t oeru/wenotes docker-wenotes-tools`
Launch:
docker run --name faye -v /home/dave/Docker/wenotes/wenotes:/opt/wenotes/wenotes \
-v /home/dave/Docker/wenotes/config/options.json:/opt/wenotes/options.json \
-d oeru/wenotes
> docker run --name faye -v /home/dave/Docker/wenotes/wenotes:/opt/wenotes/wenotes \
> -v /home/dave/Docker/wenotes/config/options.json:/opt/wenotes/options.json \
> -d oeru/wenotes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment