2018-05-06 21:08:49 +02:00
|
|
|
version: '3'
|
|
|
|
|
services:
|
|
|
|
|
couch:
|
|
|
|
|
image: couchdb:1.7.1
|
|
|
|
|
ports:
|
|
|
|
|
- "5984:5984"
|
|
|
|
|
environment:
|
|
|
|
|
COUCHDB_USER: "couchdb"
|
|
|
|
|
COUCHDB_PASSWORD: "password"
|
2018-08-23 18:01:49 +02:00
|
|
|
volumes:
|
|
|
|
|
- './data/couch:/usr/local/var/lib/couchdb'
|
2018-10-14 22:11:49 +02:00
|
|
|
network_mode: host
|
2019-04-15 17:19:30 +02:00
|
|
|
tty: true
|
2018-05-09 18:19:47 +02:00
|
|
|
inventaire:
|
2018-08-23 18:01:05 +02:00
|
|
|
build:
|
|
|
|
|
context: ./.
|
|
|
|
|
dockerfile: Dockerfile.inventaire
|
2018-05-06 21:08:49 +02:00
|
|
|
ports:
|
|
|
|
|
- "3006:3006"
|
2019-01-16 13:00:00 +01:00
|
|
|
- "9485:9485"
|
2018-05-06 21:08:49 +02:00
|
|
|
volumes:
|
2018-05-09 18:19:47 +02:00
|
|
|
- ./inventaire:/opt/inventaire
|
|
|
|
|
working_dir: /opt/inventaire
|
2018-10-14 22:11:49 +02:00
|
|
|
network_mode: host
|
2019-04-15 17:19:30 +02:00
|
|
|
tty: true
|
2018-05-09 18:19:47 +02:00
|
|
|
elasticsearch:
|
2018-10-08 15:01:04 +02:00
|
|
|
image: elasticsearch:2.4
|
2018-05-09 18:19:47 +02:00
|
|
|
environment:
|
|
|
|
|
- 'http.host=0.0.0.0'
|
|
|
|
|
- 'transport.host=127.0.0.1'
|
|
|
|
|
ports :
|
|
|
|
|
- '127.0.0.1:9200:9200'
|
2018-08-23 18:01:49 +02:00
|
|
|
volumes:
|
|
|
|
|
- './data/es:/usr/share/elasticsearch/data'
|
2018-10-14 22:11:49 +02:00
|
|
|
network_mode: host
|
2019-04-15 17:19:30 +02:00
|
|
|
logging:
|
|
|
|
|
driver: none
|