This commit is contained in:
@@ -21,3 +21,4 @@ node_modules
|
|||||||
*.sln
|
*.sln
|
||||||
*.sw?
|
*.sw?
|
||||||
|
|
||||||
|
/couchdb.env
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
services:
|
||||||
|
couchdb:
|
||||||
|
image: couchdb:latest
|
||||||
|
env_file:
|
||||||
|
- couchdb.env
|
||||||
|
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:5984:5984"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- ./services/couchdb/data:/opt/couchdb/data
|
||||||
|
- ./services/couchdb/config:/opt/couchdb/etc/local.d
|
||||||
|
|
||||||
|
restart: unless-stopped
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
config/docker.ini
|
||||||
|
data
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
[chttpd]
|
||||||
|
require_valid_user = false
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
[chttpd]
|
||||||
|
enable_cors = true
|
||||||
|
|
||||||
|
[cors]
|
||||||
|
headers = accept, authorization, content-type, origin, referer
|
||||||
|
methods = GET, PUT, POST, HEAD, DELETE
|
||||||
|
credentials = true
|
||||||
|
origins = *
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
[couchdb]
|
||||||
|
single_node=true
|
||||||
Reference in New Issue
Block a user