forked from jina-ai/reader
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
112 lines (106 loc) · 2.81 KB
/
docker-compose.yaml
File metadata and controls
112 lines (106 loc) · 2.81 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
volumes:
# minio-data:
model-data:
services:
# minio:
# image: minio/minio:latest
# restart: always
# ports:
# - "9000:9000"
# - "9001:9001"
# environment:
# MINIO_ROOT_USER: ${MINIO_ROOT_USER:-minio}
# MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PASSWORD:-minio123}
# MINIO_DOMAIN: ${MINIO_DOMAIN}
# MINIO_API_CORS_ALLOW_ORIGIN: ${MINIO_API_CORS_ALLOW_ORIGIN:-*}
# volumes:
# - minio-data:/data
# command: server /data --console-address ":9001" --address ":9000"
reranker:
image: ghcr.io/huggingface/text-embeddings-inference:cpu-1.6
restart: always
volumes:
- model-data:/data
command: [ "--model-id", "Alibaba-NLP/gte-multilingual-reranker-base" ]
app:
build:
context: .
dockerfile: Dockerfile.server
target: combined
restart: always
ports:
- "4444:3000"
- "4445:3001"
- "4446:3002"
volumes:
- ./.firebase:/usr/src/app/.firebase
env_file:
- .env
environment:
OVERRIDE_CHROME_EXECUTABLE_PATH: "/usr/bin/google-chrome-stable"
healthcheck:
test: rm -rf /usr/src/app/.firebase/* || exit 0
interval: 1h
timeout: 1m
retries: 1
start_period: 1s
# crawl:
# build:
# context: .
# dockerfile: Dockerfile.server
# target: crawler
# restart: always
# ports:
# - "4444:3000"
# volumes:
# - ./.firebase:/usr/src/app/.firebase
# env_file:
# - .env
# environment:
# OVERRIDE_CHROME_EXECUTABLE_PATH: "/usr/bin/google-chrome-stable"
# healthcheck:
# test: rm -rf /usr/src/app/.firebase/* || exit 0
# interval: 24h
# timeout: 10s
# retries: 3
# start_period: 5s
# search:
# build:
# context: .
# dockerfile: Dockerfile.server
# target: searcher
# restart: always
# ports:
# - "4445:3001"
# volumes:
# - ./.firebase:/usr/src/app/.firebase
# env_file:
# - .env
# environment:
# OVERRIDE_CHROME_EXECUTABLE_PATH: "/usr/bin/google-chrome-stable"
# healthcheck:
# test: rm -rf /usr/src/app/.firebase/* || exit 0
# interval: 24h
# timeout: 10s
# retries: 3
# start_period: 5s
# adaptive-crawler:
# build:
# context: .
# dockerfile: Dockerfile.server
# target: adaptive-crawler
# restart: always
# ports:
# - "4446:3002"
# volumes:
# - ./.firebase:/usr/src/app/.firebase
# env_file:
# - .env
# environment:
# OVERRIDE_CHROME_EXECUTABLE_PATH: "/usr/bin/google-chrome-stable"
# healthcheck:
# test: rm -rf /usr/src/app/.firebase/* || exit 0
# interval: 24h
# timeout: 10s
# retries: 3
# start_period: 5s