How to include CouchDB in the build?


#1

Hello,

anybody worked out how to start couchdb and populate it with seed data?
I tried to find some docs, but apart from “it’s installed in the image” I didn’t get much info :slight_smile: Any pointers, ideas or blog posts welcome.

Thanks!
Christian


#2

Just faced this problem too. It turned out that

machine:
  services:
    - couchdb

works and starts the CouchDB, but for some reason it only comes alive in 3 mins or so - so a wait script is needed. Here’s the one I used, and here’s how it worked: it uses default port 5984 and no auth; then it can be configured via its REST API like here.


#3