Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
third-party
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
261
Issues
261
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Paul
third-party
Commits
4a94a72a
Unverified
Commit
4a94a72a
authored
Apr 19, 2021
by
Vincent Martinez
Committed by
Paul B
May 23, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
set couchdb database to public
parent
ded2f9b6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
couchdb-setup.sh
couchdb-setup.sh
+6
-0
local.ini
dockerfiles/local.ini
+2
-1
No files found.
couchdb-setup.sh
View file @
4a94a72a
...
...
@@ -10,3 +10,9 @@ curl -X PUT http://admin:123abc@couchdb:5984/coops/_design/index \
-d
@couchdb-coops-init.json
curl
-X
PUT http://admin:123abc@couchdb:5984/envelop/_design/index
\
-d
@couchdb-envelop-init.json
# Set databases to public to allow app to access documents
curl
-X
PUT http://admin:123abc@couchdb:5984/coops/_security
-d
'{}'
curl
-X
PUT http://admin:123abc@couchdb:5984/inventory/_security
-d
'{}'
curl
-X
PUT http://admin:123abc@couchdb:5984/envelop/_security
-d
'{}'
curl
-X
PUT http://admin:123abc@couchdb:5984/shopping_carts/_security
-d
'{}'
dockerfiles/local.ini
View file @
4a94a72a
[couchdb]
single_node
=
true
users_db_security_editable
=
true
[httpd]
enable_cors
=
true
[cors]
credentials
=
true
origins
=
http://127.0.0.1:8080
origins
=
*
[replicator]
db
=
_replicator
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment