couchdb: add custom configuration
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1,3 +1,5 @@
|
||||
inventaire
|
||||
data
|
||||
log
|
||||
log
|
||||
configs/docker.ini
|
||||
|
||||
|
||||
6
configs/0_local.ini
Normal file
6
configs/0_local.ini
Normal file
@@ -0,0 +1,6 @@
|
||||
; CouchDB configuration file, named to have a lower priority than ./docker.ini
|
||||
; See https://docs.couchdb.org/en/stable/config/index.html
|
||||
|
||||
[fabric]
|
||||
; Prevent "No DB shards could be opened" errors, see https://github.com/apache/couchdb/issues/4497
|
||||
shard_timeout_min_msec = 5000
|
||||
@@ -9,6 +9,7 @@ services:
|
||||
COUCHDB_PASSWORD: "yourcouchdbpassword"
|
||||
volumes:
|
||||
- './data/couchdb:/opt/couchdb/data'
|
||||
- './configs:/opt/couchdb/etc/local.d'
|
||||
network_mode: host
|
||||
tty: true
|
||||
elasticsearch:
|
||||
|
||||
Reference in New Issue
Block a user