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:
19
docker-compose.yml
Normal file
19
docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user