diff --git a/README.md b/README.md index ea4f643..713b54f 100644 --- a/README.md +++ b/README.md @@ -20,14 +20,7 @@ clone `inventaire` core application server -> [setup](https://github.com/inventa git clone https://github.com/inventaire/inventaire.git ``` - -Create empty folders for docker volumes to set themselves. - -In accordance with docker-compose volumes, example: `mkdir data couch-test couch es`. - -Ensure the owner ID of those folders is 1000: `chown -R 1000:1000`. - -Start the magic, build everything ! +Build ```bash docker-compose build diff --git a/docker-compose.yml b/docker-compose.yml index b7a3149..6cbe17a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: COUCHDB_USER: "couchdb" COUCHDB_PASSWORD: "password" volumes: - - './data/couch:/usr/local/var/lib/couchdb' + - 'couchdb:/usr/local/var/lib/couchdb' network_mode: host tty: true inventaire: @@ -33,7 +33,10 @@ services: ports : - '127.0.0.1:9200:9200' volumes: - - './data/es:/usr/share/elasticsearch/data' + - 'elasticsearch:/usr/share/elasticsearch/data' network_mode: host logging: driver: none +volumes: + couchdb: + elasticsearch: \ No newline at end of file