-
Notifications
You must be signed in to change notification settings - Fork 464
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (27 loc) · 872 Bytes
/
docker-compose.yml
File metadata and controls
28 lines (27 loc) · 872 Bytes
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
version: "3.8"
services:
interactive_substring_matching:
container_name: interactive_substring_matching
image: heartexlabs/label-studio-ml-backend:interactsubstrmatch-master
init: true
build:
context: .
args:
TEST_ENV: ${TEST_ENV}
environment:
# specify these parameters if you want to use basic auth for the model server
- BASIC_AUTH_USER=
- BASIC_AUTH_PASS=
# set the log level for the model server
- LOG_LEVEL=DEBUG
# any other parameters that you want to pass to the model server
- ANY=PARAMETER
# specify the number of workers and threads for the model server
- WORKERS=1
- THREADS=8
# specify the model directory (likely you don't need to change this)
- MODEL_DIR=/data/models
ports:
- "9090:9090"
volumes:
- "./data/server:/data"