forked from numinouslabs/numinous
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.validator.yaml
More file actions
39 lines (29 loc) · 1.03 KB
/
docker-compose.validator.yaml
File metadata and controls
39 lines (29 loc) · 1.03 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
networks:
validator_network:
name: validator_network
services:
validator:
container_name: numinous_validator
image: numinouslabs/numinous:latest
pull_policy: always
platform: linux/amd64
networks:
- validator_network
ports:
- "8000:8000"
volumes:
- ./validator-data/database:/root/infinite_games/database
- ~/.bittensor:/root/.bittensor
- /var/run/docker.sock:/var/run/docker.sock
- /tmp/ig_validator_sandboxes:/tmp/ig_validator_sandboxes
restart: unless-stopped
environment:
- INLINE_LOGS=1
- HOST_WALLET_PATH=${HOST_WALLET_PATH:-${HOME}/.bittensor/wallets}
command: >
bash -c "python neurons/validator.py --netuid 6 --subtensor.network finney --wallet.name ${WALLET_NAME} --wallet.hotkey ${WALLET_HOTKEY} --db.directory /root/infinite_games/database --numinous.env prod --sandbox.max_concurrent 50 --sandbox.timeout_seconds 240 --logging.debug"
logging:
driver: "json-file"
options:
max-size: "50m"
max-file: "3"