move couchdb and elasticsearch volumes data in a dedicated folder

This commit is contained in:
maxlath
2023-04-28 22:58:03 +02:00
parent 2c13079669
commit 8c296c0401

View File

@@ -8,7 +8,7 @@ services:
COUCHDB_USER: "yourcouchdbusername"
COUCHDB_PASSWORD: "yourcouchdbpassword"
volumes:
- 'couchdb:/opt/couchdb/data'
- './data/couchdb:/opt/couchdb/data'
network_mode: host
tty: true
logging:
@@ -24,7 +24,7 @@ services:
ports :
- '127.0.0.1:9200:9200'
volumes:
- 'elasticsearch:/usr/share/elasticsearch/data'
- './data/elasticsearch:/usr/share/elasticsearch/data'
network_mode: host
logging:
driver: none