mibes404 opened a new issue #52: "How to use this image" references wrong 
directory
URL: https://github.com/apache/couchdb-docker/issues/52
 
 
   In the "How to use this image" description it is mentioned that the CouchDB 
container uses /usr/local/var/lib/couchdb to store its data. This is not 
accurate for release 2.1.1.
   
   Description is consistent in both official locations:
   [hub.docker.com](https://hub.docker.com/_/couchdb/)
   [store.docker.com](https://store.docker.com/images/couchdb)
   
   ## Expected Behavior
   The data files are located at "/opt/couchdb/data" and the document should 
reference this.
   
   ## Current Behavior
   If you follow the suggested configuration and map the local directory to 
"/usr/local/var/lib/couchdb" the local directory is created by docker-compose, 
but no files are written to this location.
   
   ## Possible Solution
   Update the documentation to "/opt/couchdb/data". For example 
docker-compose.yml:
   
   ```
     couchdb:
       image: couchdb  
       volumes:
         - ./local_couch_files:/opt/couchdb/data     
   ``` 
   
   ## Your Environment
   * Version used: 2.1.1
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to