-
Notifications
You must be signed in to change notification settings - Fork 28
/
docker-compose.yml
33 lines (33 loc) · 1.05 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
version: "3.9"
services:
search_server:
image: pqai
stdin_open: true
tty: true
restart: always
network_mode: host
volumes:
- ${MODELS_DIR}:/app/models
- ${INDEXES_DIR}:/app/indexes
- ${TOKENS_FILE}:/app/tokens.txt
environment:
ENVIRONMENT: ${ENVIRONMENT}
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
PQAI_S3_BUCKET_NAME: ${PQAI_S3_BUCKET_NAME}
API_PORT: ${API_PORT}
MONGO_PORT: ${MONGO_PORT}
MONGO_HOST: ${MONGO_HOST}
MONGO_USER: ${MONGO_USER}
MONGO_PASSWORD: ${MONGO_PASSWORD}
MONGO_DBNAME: ${MONGO_DBNAME}
MONGO_PAT_COLL: ${MONGO_PAT_COLL}
MONGO_NPL_COLL: ${MONGO_NPL_COLL}
SMART_INDEX_SELECTION: ${SMART_INDEX_SELECTION}
USE_RERANKER: ${USE_RERANKER}
DISABLE_GPU: ${DISABLE_GPU}
OUTGOING_EXT: ${OUTGOING_EXT}
INCOMING_EXT: ${INCOMING_EXT}
USE_FAISS_INDEXES: ${USE_FAISS_INDEXES}
USE_ANNOY_INDEXES: ${USE_ANNOY_INDEXES}
TOKEN_AUTHENTICATION: ${TOKEN_AUTHENTICATION}