-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
71 lines (66 loc) · 1.57 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: "3.4"
services:
jibjib-api:
image: "jibjib"
environment:
- JIBJIB_DB_URL=test-r:test-r@jibjib-mongo/birds
- JIBJIB_MODEL_URL=http://jibjib-query:8081
ports:
- "8000:8080"
depends_on:
- mongo
- jibjib-query
networks:
- jibjib
jibjib-mongo:
image: mongo:3.6.5
volumes:
- type: volume
source: documentstore
target: /data/db
- type: bind
source: ${JIBJIB_MONGO_CONFIG_PATH}
target: /etc/mongo
- type: bind
source: ${JIBJIB_MONGO_IMPORT_PATH}
target: /import
- type: bind
source: ${JIBJIB_MONGO_INITDB_PATH}
target: /initdb
#ports:
# - "27017:27017"
networks:
- jibjib
command: --config /etc/mongo/mongod.conf --auth
jibjib-tf-serving:
image: obitech/tensorflow-serving:devel-cpu
#ports:
# - 8082:8082
volumes:
- type: bind
source: ${JIBJIB_MODEL_PATH}/serve
target: /serve
networks:
- jibjib
command: tensorflow_model_server --port=8080 --model_name=jibjib_model --model_base_path=/serve/jibjib_model
jibjib-query:
image: obitech/jibjib-query
#ports:
# - "8081:8081"
environment:
- SERVING_URL=jibjib-tf-serving
- SERVING_PORT=8080
volumes:
- type: bind
source: ${JIBJIB_APP_INPUT_PATH}
target: /app/input
networks:
- jibjib
depends_on:
- tf-serving
networks:
jibjib:
volumes:
documentstore:
external: true
name: ${JIBJIB_MONGO_DATABASE_VOLUME}