-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
52 lines (49 loc) · 1.08 KB
/
docker-compose.yml
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
version: "3"
services:
xproxy:
image: kayuii/ironfish-miner:xproxy-v1.0.3-1
restart: unless-stopped
container_name: xproxy
ports: [ "9190:9190" ]
volumes:
- ./xplogs:/opt/log/
- ./xpdb:/opt/db/
command:
- x-proxy
environment:
- APIKEY=ironfish-b486-cbdc-1370-704770a25172
miner-cuda:
image: kayuii/ironfish-miner:cuda-v1.0.3
restart: unless-stopped
runtime: nvidia
environment:
- NVIDIA_VISIBLE_DEVICES=all
- HOSTNAME=miner
- PROXY=http://xproxy:9190
- CPUNUM=0
- ENABLEGPU=1
- DEVICE=0
- GPUBATCHCOUNT=10240000
- GPULOOP=1
command:
- hpool-miner
miner-opencl:
image: kayuii/ironfish-miner:opencl-v1.0.3
restart: unless-stopped
devices:
- "/dev/kfd"
- "/dev/dri"
group_add:
- render
security_opt:
- seccomp:unconfined
environment:
- HOSTNAME=miner
- PROXY=http://xproxy:9190
- CPUNUM=0
- ENABLEGPU=1
- DEVICE=0
- GPUBATCHCOUNT=10240000
- GPULOOP=1
command:
- hpool-miner