This repository was archived by the owner on Dec 15, 2025. It is now read-only.
forked from niels-ma/infinite_games
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.stg.yaml
More file actions
277 lines (181 loc) · 6.76 KB
/
Copy pathdocker-compose.stg.yaml
File metadata and controls
277 lines (181 loc) · 6.76 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
networks:
validator_stage_network:
name: validator_stage_network
miner_stage_network:
name: miner_stage_network
services:
if_validator_stage:
container_name: if_validator_stage
image: $AWS_ECR_REGISTRY/infinite_games:neuron-stage-latest
pull_policy: always
networks:
- validator_stage_network
ports:
- "8002:8000"
volumes:
- /root/validator_stage.db:/root/infinite_games/validator_test.db
- ./.bittensor:/root/.bittensor
restart: unless-stopped
environment:
- INLINE_LOGS=1
- API_ACCESS_KEYS=$API_ACCESS_KEYS
command: >
bash -c "python neurons/validator.py --netuid 155 --subtensor.network test --wallet.name testkey --wallet.hotkey hkey2 --logging.debug"
logging:
driver: "json-file"
options:
max-size: "50m"
max-file: "3"
if_miner_stage_1: &base_miner
container_name: if_miner_stage_1
image: $AWS_ECR_REGISTRY/infinite_games:neuron-stage-latest
pull_policy: always
networks:
- miner_stage_network
ports:
- "10001:10001"
volumes:
- ./.bittensor:/root/.bittensor
restart: unless-stopped
environment:
- INLINE_LOGS=1
command: >
bash -c "python neurons/miner.py --netuid 155 --subtensor.network test --wallet.name tckey --wallet.hotkey thkey1 --logging.debug --axon.port 10001"
logging:
driver: "json-file"
options:
max-size: "50m"
max-file: "3"
if_miner_stage_2:
<<: *base_miner
container_name: if_miner_stage_2
command: >
bash -c "python neurons/miner.py --netuid 155 --subtensor.network test --wallet.name tckey --wallet.hotkey thkey2 --logging.debug --axon.port 10002"
ports:
- "10002:10002"
if_miner_stage_3:
<<: *base_miner
container_name: if_miner_stage_3
command: >
bash -c "python neurons/miner.py --netuid 155 --subtensor.network test --wallet.name tckey --wallet.hotkey thkey3 --logging.debug --axon.port 10003"
ports:
- "10003:10003"
if_miner_stage_4:
<<: *base_miner
container_name: if_miner_stage_4
command: >
bash -c "python neurons/miner.py --netuid 155 --subtensor.network test --wallet.name tckey --wallet.hotkey thkey4 --logging.debug --axon.port 10004"
ports:
- "10004:10004"
if_miner_stage_5:
<<: *base_miner
container_name: if_miner_stage_5
command: >
bash -c "python neurons/miner.py --netuid 155 --subtensor.network test --wallet.name tckey --wallet.hotkey thkey5 --logging.debug --axon.port 10005"
ports:
- "10005:10005"
if_miner_stage_6:
<<: *base_miner
container_name: if_miner_stage_6
command: >
bash -c "python neurons/miner.py --netuid 155 --subtensor.network test --wallet.name tckey --wallet.hotkey thkey6 --logging.debug --axon.port 10006"
ports:
- "10006:10006"
if_miner_stage_7:
<<: *base_miner
container_name: if_miner_stage_7
command: >
bash -c "python neurons/miner.py --netuid 155 --subtensor.network test --wallet.name tckey --wallet.hotkey thkey7 --logging.debug --axon.port 10007"
ports:
- "10007:10007"
if_miner_stage_8:
<<: *base_miner
container_name: if_miner_stage_8
command: >
bash -c "python neurons/miner.py --netuid 155 --subtensor.network test --wallet.name tckey --wallet.hotkey thkey8 --logging.debug --axon.port 10008"
ports:
- "10008:10008"
if_miner_stage_9:
<<: *base_miner
container_name: if_miner_stage_9
command: >
bash -c "python neurons/miner.py --netuid 155 --subtensor.network test --wallet.name tckey --wallet.hotkey thkey9 --logging.debug --axon.port 10009"
ports:
- "10009:10009"
if_miner_stage_10:
<<: *base_miner
container_name: if_miner_stage_10
command: >
bash -c "python neurons/miner.py --netuid 155 --subtensor.network test --wallet.name tckey --wallet.hotkey thkey10 --logging.debug --axon.port 10010"
ports:
- "10010:10010"
if_miner_stage_11:
<<: *base_miner
container_name: if_miner_stage_11
command: >
bash -c "python neurons/miner.py --netuid 155 --subtensor.network test --wallet.name tckey --wallet.hotkey thkey11 --logging.debug --axon.port 10011"
ports:
- "10011:10011"
if_miner_stage_12:
<<: *base_miner
container_name: if_miner_stage_12
command: >
bash -c "python neurons/miner.py --netuid 155 --subtensor.network test --wallet.name tckey --wallet.hotkey thkey12 --logging.debug --axon.port 10012"
ports:
- "10012:10012"
if_miner_stage_13:
<<: *base_miner
container_name: if_miner_stage_13
command: >
bash -c "python neurons/miner.py --netuid 155 --subtensor.network test --wallet.name tckey --wallet.hotkey thkey13 --logging.debug --axon.port 10013"
ports:
- "10013:10013"
if_miner_stage_14:
<<: *base_miner
container_name: if_miner_stage_14
command: >
bash -c "python neurons/miner.py --netuid 155 --subtensor.network test --wallet.name tckey --wallet.hotkey thkey14 --logging.debug --axon.port 10014"
ports:
- "10014:10014"
if_miner_stage_15:
<<: *base_miner
container_name: if_miner_stage_15
command: >
bash -c "python neurons/miner.py --netuid 155 --subtensor.network test --wallet.name tckey --wallet.hotkey thkey15 --logging.debug --axon.port 10015"
ports:
- "10015:10015"
if_miner_stage_16:
<<: *base_miner
container_name: if_miner_stage_16
command: >
bash -c "python neurons/miner.py --netuid 155 --subtensor.network test --wallet.name tckey --wallet.hotkey thkey16 --logging.debug --axon.port 10016"
ports:
- "10016:10016"
if_miner_stage_17:
<<: *base_miner
container_name: if_miner_stage_17
command: >
bash -c "python neurons/miner.py --netuid 155 --subtensor.network test --wallet.name tckey --wallet.hotkey thkey17 --logging.debug --axon.port 10017"
ports:
- "10017:10017"
if_miner_stage_18:
<<: *base_miner
container_name: if_miner_stage_18
command: >
bash -c "python neurons/miner.py --netuid 155 --subtensor.network test --wallet.name tckey --wallet.hotkey thkey18 --logging.debug --axon.port 10018"
ports:
- "10018:10018"
if_miner_stage_19:
<<: *base_miner
container_name: if_miner_stage_19
command: >
bash -c "python neurons/miner.py --netuid 155 --subtensor.network test --wallet.name tckey --wallet.hotkey thkey19 --logging.debug --axon.port 10019"
ports:
- "10019:10019"
if_miner_stage_20:
<<: *base_miner
container_name: if_miner_stage_20
command: >
bash -c "python neurons/miner.py --netuid 155 --subtensor.network test --wallet.name tckey --wallet.hotkey thkey20 --logging.debug --axon.port 10020"
ports:
- "10020:10020"