-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
77 lines (72 loc) · 1.67 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
72
73
74
75
76
77
services:
pdf_parsing_service:
build:
context: ./src/services/pdf_parsing
dockerfile: Dockerfile
container_name: pdf_parsing_service
tty: true
ports:
- 3000:3000
environment:
- AWS_LAMBDA_FUNCTION_NAME=pdf_parsing_service
- AWS_REGION=us-east-1
- ENV=local
volumes:
- type: bind
source: ./data
target: /data
- type: bind
source: ~/.aws
target: /root/.aws
splitting_service:
build:
context: ./src/services/splitting
dockerfile: Dockerfile
container_name: splitting_service
tty: true
ports:
- 3001:3001
environment:
- AWS_LAMBDA_FUNCTION_NAME=splitting_service
- AWS_REGION=us-east-1
- ENV=local
volumes:
- type: bind
source: ./data
target: /data
- type: bind
source: ~/.aws
target: /root/.aws
storage_monitor:
build:
context: ./src/services/storage_monitor
dockerfile: Dockerfile
container_name: storage_monitor
volumes:
- type: bind
source: ./data
target: /data
weaviate:
command:
- --host
- 0.0.0.0
- --port
- '8080'
- --scheme
- http
image: cr.weaviate.io/semitechnologies/weaviate:1.26.4
ports:
- 8080:8080
volumes:
- ./data:/var/lib/weaviate
restart: on-failure:0
environment:
QUERY_DEFAULTS_LIMIT: 25
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: 'true'
PERSISTENCE_DATA_PATH: '/var/lib/weaviate'
DEFAULT_VECTORIZER_MODULE: 'none'
ENABLE_API_BASED_MODULES: 'true'
CLUSTER_HOSTNAME: 'node1'
networks:
default:
driver: bridge