couchdb: add custom configuration
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1,3 +1,5 @@
|
|||||||
inventaire
|
inventaire
|
||||||
data
|
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"
|
COUCHDB_PASSWORD: "yourcouchdbpassword"
|
||||||
volumes:
|
volumes:
|
||||||
- './data/couchdb:/opt/couchdb/data'
|
- './data/couchdb:/opt/couchdb/data'
|
||||||
|
- './configs:/opt/couchdb/etc/local.d'
|
||||||
network_mode: host
|
network_mode: host
|
||||||
tty: true
|
tty: true
|
||||||
elasticsearch:
|
elasticsearch:
|
||||||
|
|||||||
Reference in New Issue
Block a user