Skip to content

Instantly share code, notes, and snippets.

@endyjasmi
Last active February 23, 2018 21:10
Show Gist options
  • Save endyjasmi/f0c52c6c2f041ce17bf650cdfd627a3e to your computer and use it in GitHub Desktop.
Save endyjasmi/f0c52c6c2f041ce17bf650cdfd627a3e to your computer and use it in GitHub Desktop.
CouchDB search stack
[clouseau]
name = clouseau@clouseau
cookie = monster
dir = /opt/clouseau/data
version: "3.3"
services:
couchdb:
image: couchdb:2.1.1-dreyfus
volumes:
- "./local.ini:/opt/couchdb/etc/local.ini"
- "couchdb-storage:/opt/couchdb/data"
ports:
- "5984:5984"
networks:
network:
clouseau:
image: clouseau
volumes:
- "./clouseau.ini:/opt/clouseau/clouseau.ini"
- "clouseau-storage:/opt/clouseau/data"
networks:
network:
depends_on:
- couchdb
volumes:
clouseau-storage:
couchdb-storage:
networks:
network:
[chttpd]
bind_address = 0.0.0.0
[cors]
credentials = true
headers = accept, authorization, content-type, origin, referer
methods = GET, PUT, POST, HEAD, DELETE
origins = *
[dreyfus]
name = clouseau@clouseau
[httpd]
bind_address = 0.0.0.0
enable_cors = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment