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_USER: "yourcouchdbusername"
COUCHDB_PASSWORD: "yourcouchdbpassword" COUCHDB_PASSWORD: "yourcouchdbpassword"
volumes: volumes:
- 'couchdb:/opt/couchdb/data' - './data/couchdb:/opt/couchdb/data'
network_mode: host network_mode: host
tty: true tty: true
logging: logging:
@@ -24,7 +24,7 @@ services:
ports : ports :
- '127.0.0.1:9200:9200' - '127.0.0.1:9200:9200'
volumes: volumes:
- 'elasticsearch:/usr/share/elasticsearch/data' - './data/elasticsearch:/usr/share/elasticsearch/data'
network_mode: host network_mode: host
logging: logging:
driver: none driver: none