-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
25 lines (25 loc) · 870 Bytes
/
compose.yml
File metadata and controls
25 lines (25 loc) · 870 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
services:
scoring-api:
image: redteamsubnet61/rest-scoring-api:4.1.3-260420
build:
context: .
restart: unless-stopped
privileged: true
network_mode: host
environment:
TERM: ${TERM:-xterm}
TZ: ${TZ:-UTC}
RT_SCORING_API_PORT: ${RT_SCORING_API_PORT:-8090}
RT_SCORING_API_HOTKEY_NAME: ${RT_SCORING_API_HOTKEY_NAME:-scoring-api}
RT_SCORING_API_UID: ${RT_SCORING_API_UID:--1}
RT_BT_SUBTENSOR_NETWORK: ${RT_BT_SUBTENSOR_NETWORK:-ws://localhost:9944}
RT_STORAGE_API_URL: ${RT_STORAGE_API_URL:-http://localhost:9978/}
env_file:
- path: .env
required: false
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "./volumes/storage/sidecar-btcli/data:/var/lib/sidecar-btcli"
ports:
- "${RT_SCORING_API_PORT:-47920}:${RT_SCORING_API_PORT:-47920}"
tty: true