Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
96 lines (96 loc) · 1.92 KB
/
Copy pathdocker-compose.yml
File metadata and controls
96 lines (96 loc) · 1.92 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
services:
contextionary:
environment:
OCCURRENCE_WEIGHT_LINEAR_FACTOR: 0.75
SCHEMA_PROVIDER_URL: etcd:2379
image: semitechnologies/contextionary:en0.16.0-v0.4.14
ports:
- 9999:9999
esvector:
environment:
ES_JAVA_OPTS: -Xms500m -Xmx500m
discovery.type: single-node
xpack.security.enabled: 'false'
image: semitechnologies/esvector:7.1.0
ports:
- 9201:9200
- 9301:9300
etcd:
command:
- --name
- s1
- --data-dir
- /etcd-data
- --listen-client-urls
- http://0.0.0.0:2379
- --advertise-client-urls
- http://0.0.0.0:2379
- --listen-peer-urls
- http://0.0.0.0:2380
- --initial-advertise-peer-urls
- http://0.0.0.0:2380
- --initial-cluster
- s1=http://0.0.0.0:2380
- --initial-cluster-token
- tkn
- --initial-cluster-state
- new
entrypoint: /usr/local/bin/etcd
image: gcr.io/etcd-development/etcd:v3.3.8
ports:
- 2379:2379
weaviate:
command:
- --host
- 0.0.0.0
- --port
- '8080'
- --scheme
- http
- --config-file
- config.yaml
depends_on:
- esvector
image: semitechnologies/weaviate:0.22.13
ports:
- 8080:8080
restart: on-failure:0
volumes:
- ./config.yaml:/config.yaml
cva:
build: weaviate
environment:
- weaviate_host=http://weaviate.com:8080
depends_on:
- weaviate
links:
- "weaviate:weaviate.com"
client:
build: ./client
depends_on:
- cva
ports:
- "3000:3000"
api:
build: ./server
depends_on:
- client
ports:
- "5000:5000"
nginx:
depends_on:
- weaviate
- client
- api
environment:
- NGINX_PORT=2222
image: nginx
links:
- "weaviate:weaviate.com"
- "client:website.com"
- "api:api.com"
ports:
- "2222:2222"
volumes:
- "./nginx.conf:/etc/nginx/conf.d/default.conf"
version: '3.4'