move couchdb and elasticsearch volumes data in a dedicated folder
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user