move image build in separate dockerfiles
This commit is contained in:
@@ -8,17 +8,17 @@ services:
|
||||
COUCHDB_USER: "couchdb"
|
||||
COUCHDB_PASSWORD: "password"
|
||||
inventaire:
|
||||
image: node:6.11.1
|
||||
command: "npm start"
|
||||
build:
|
||||
context: ./.
|
||||
dockerfile: Dockerfile.inventaire
|
||||
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:
|
||||
- couch
|
||||
- entities-search-engine
|
||||
elasticsearch:
|
||||
image: elasticsearch
|
||||
@@ -35,6 +35,7 @@ services:
|
||||
volumes:
|
||||
- ./entities-search-engine:/opt/entities-search-engine
|
||||
- ./utils/config/entities-search-engine-local.coffee:/opt/entities-search-engine/config/local.coffee
|
||||
- ./utils/elastic_setup.sh:/opt/entities-search-engine/
|
||||
links:
|
||||
- couch
|
||||
working_dir: /opt/entities-search-engine
|
||||
|
||||
Reference in New Issue
Block a user