add docker-compose.yml for up local couchdb
Main daploy / deploy (push) Successful in 43s

This commit is contained in:
2024-11-24 22:45:50 +02:00
parent 85f3369eee
commit e8dce0cf5e
6 changed files with 29 additions and 0 deletions
+1
View File
@@ -21,3 +21,4 @@ node_modules
*.sln *.sln
*.sw? *.sw?
/couchdb.env
+14
View File
@@ -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
+2
View File
@@ -0,0 +1,2 @@
config/docker.ini
data
+2
View File
@@ -0,0 +1,2 @@
[chttpd]
require_valid_user = false
+8
View File
@@ -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 = *
+2
View File
@@ -0,0 +1,2 @@
[couchdb]
single_node=true