docker-compose.yml: let couchdb use a named volume to store its data
See https://serverfault.com/questions/996785/docker-volumes-vs-mount-binds-what-are-the-use-cases
This commit is contained in:
@@ -8,7 +8,6 @@ services:
|
||||
COUCHDB_USER: "yourcouchdbusername"
|
||||
COUCHDB_PASSWORD: "yourcouchdbpassword"
|
||||
volumes:
|
||||
- './data/couchdb:/opt/couchdb/data'
|
||||
- './configs:/opt/couchdb/etc/local.d'
|
||||
tty: true
|
||||
elasticsearch:
|
||||
@@ -21,8 +20,6 @@ services:
|
||||
- 'ES_JAVA_OPTS=-Xms1g -Xmx1g'
|
||||
ports :
|
||||
- '127.0.0.1:9200:9200'
|
||||
volumes:
|
||||
- './data/elasticsearch:/usr/share/elasticsearch/data'
|
||||
volumes:
|
||||
couchdb:
|
||||
elasticsearch:
|
||||
Reference in New Issue
Block a user