initial docker-compose with node6 & couchdb1.7

initially written in a dockerfile, inventaire is actually running from local inventaire
folder compiled mannually at hand and lunch inside docker compose
letting the possibility of editing branching inventaire folder and mount it on docker when ready to
test for production environement
This commit is contained in:
vinny
2018-05-06 21:08:49 +02:00
commit 95e2f680bc
3 changed files with 52 additions and 0 deletions

19
docker-compose.yml Normal file
View File

@@ -0,0 +1,19 @@
version: '3'
services:
couch:
image: couchdb:1.7.1
ports:
- "5984:5984"
environment:
COUCHDB_USER: "couchdb"
COUCHDB_PASSWORD: "password"
app:
image: node:6.11.1
command: "npm start"
ports:
- "3006:3006"
volumes:
- ./inventaire:/inventaire
links:
- couch
working_dir: /inventaire