41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
version: '3'
|
|
services:
|
|
couch:
|
|
image: couchdb:1.7.1
|
|
ports:
|
|
- "5984:5984"
|
|
environment:
|
|
COUCHDB_USER: "couchdb"
|
|
COUCHDB_PASSWORD: "password"
|
|
inventaire:
|
|
image: node:6.11.1
|
|
command: "npm start"
|
|
ports:
|
|
- "3006:3006"
|
|
volumes:
|
|
- ./inventaire:/opt/inventaire
|
|
- ./utils/config/inventaire-local.coffee:/opt/inventaire/config/local.coffee
|
|
links:
|
|
- couch
|
|
working_dir: /opt/inventaire
|
|
depends_on:
|
|
- entities-search-engine
|
|
elasticsearch:
|
|
image: elasticsearch
|
|
environment:
|
|
- 'http.host=0.0.0.0'
|
|
- 'transport.host=127.0.0.1'
|
|
ports :
|
|
- '127.0.0.1:9200:9200'
|
|
entities-search-engine:
|
|
image: node:6.11.1
|
|
command: 'node_modules/coffee-script/bin/coffee server/server.coffee'
|
|
ports:
|
|
- "3213:3213"
|
|
volumes:
|
|
- ./entities-search-engine:/opt/entities-search-engine
|
|
- ./utils/config/entities-search-engine-local.coffee:/opt/entities-search-engine/config/local.coffee
|
|
links:
|
|
- couch
|
|
working_dir: /opt/entities-search-engine
|