forked from HumanSignal/label-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_test.sh
More file actions
22 lines (21 loc) · 1.2 KB
/
Copy pathrun_test.sh
File metadata and controls
22 lines (21 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
run_args=()
run_args+=(--add-host host.docker.internal:host-gateway )
run_args+=(-e LABEL_STUDIO_APERTUREDB_KEY="moo")
run_args+=(-e LABEL_STUDIO_USERNAME=aperturedb@localhost )
run_args+=(-e LABEL_STUDIO_PASSWORD=41apertureDB3 )
run_args+=(-e LABEL_STUDIO_USER_TOKEN=PXq08K1kCwg9eTmhFPdwOgE5DEVvy5MejfW26p13EQvkse6w)
run_args+=(-e LABEL_STUDIO_CONFIGURED_STORAGE_BACKENDS="aperturedb gcs s3" )
run_args+=(-e LABEL_STUDIO_APERTUREDB_KEY="WzEsMSwiaG9zdC5kb2NrZXIuaW50ZXJuYWwiLCJpY21DTktpeHJsclRzaGpaR0xXUWg1SkY5bXoxSGpZVXUyYiJd")
run_args+=(-e LABEL_STUDIO_HOST="http://localhost:9001/labelstudio/")
run_args+=(-e LABEL_STUDIO_STATIC_PATH="/labelstudio/static/")
run_args+=(-e LABEL_STUDIO_URL_BASE="/labelstudio")
run_args+=(-e LABEL_STUDIO_DEBUG="FALSE")
run_args+=(-e LABEL_STUDIO_LOG_CONFIG_YAML="/app_config/ls_logging.yaml")
run_args+=(-e LABEL_STUDIO_CREATE_PROJ_TITLE="ApertureDB Labeling Data")
run_args+=(-e LABEL_STUDIO_DEFAULT_CLOUD_STORAGE="aperturedb")
run_args+=(-e LABEL_STUDIO_CLOUD_STORAGE_JSON_PATH="/app_config/cloud_storage_config.json")
run_args+=( -v ./app_config:/app_config )
run_args+=(-p 9001:8000 )
run_args+=( --rm aperturedata/label-studio )
echo docker run ${run_args[@]}
docker run "${run_args[@]}"