mirror of
https://github.com/ivuorinen/docker-xmrig.git
synced 2026-02-25 22:53:11 +00:00
feat: trim config, add autosave
This commit is contained in:
44
config.json
44
config.json
@@ -1,16 +1,5 @@
|
|||||||
{
|
{
|
||||||
"api": {
|
"autosave": true,
|
||||||
"id": null,
|
|
||||||
"worker-id": null
|
|
||||||
},
|
|
||||||
"http": {
|
|
||||||
"enabled": false,
|
|
||||||
"host": "127.0.0.1",
|
|
||||||
"port": 0,
|
|
||||||
"access-token": null,
|
|
||||||
"restricted": true
|
|
||||||
},
|
|
||||||
"autosave": false,
|
|
||||||
"background": false,
|
"background": false,
|
||||||
"colors": true,
|
"colors": true,
|
||||||
"title": true,
|
"title": true,
|
||||||
@@ -21,35 +10,24 @@
|
|||||||
"1gb-pages": true,
|
"1gb-pages": true,
|
||||||
"rdmsr": true,
|
"rdmsr": true,
|
||||||
"wrmsr": true,
|
"wrmsr": true,
|
||||||
"cache_qos": false,
|
"cache_qos": true,
|
||||||
"numa": true,
|
"numa": true,
|
||||||
"scratchpad_prefetch_mode": 1
|
"scratchpad_prefetch_mode": 1
|
||||||
},
|
},
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"huge-pages": true,
|
"huge-pages": true,
|
||||||
"huge-pages-jit": false,
|
"yield": true
|
||||||
"hw-aes": null,
|
|
||||||
"priority": null,
|
|
||||||
"memory-pool": false,
|
|
||||||
"yield": true,
|
|
||||||
"max-threads-hint": 100
|
|
||||||
},
|
},
|
||||||
"opencl": {
|
"opencl": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
"cache": true,
|
"cache": true,
|
||||||
"loader": null,
|
"loader": null
|
||||||
"platform": "AMD",
|
|
||||||
"adl": true,
|
|
||||||
"cn/0": false,
|
|
||||||
"cn-lite/0": false
|
|
||||||
},
|
},
|
||||||
"cuda": {
|
"cuda": {
|
||||||
"enabled": false,
|
"enabled": false,
|
||||||
"loader": null,
|
"loader": null,
|
||||||
"nvml": true,
|
"nvml": true
|
||||||
"cn/0": false,
|
|
||||||
"cn-lite/0": false
|
|
||||||
},
|
},
|
||||||
"donate-level": 0,
|
"donate-level": 0,
|
||||||
"donate-over-proxy": 0,
|
"donate-over-proxy": 0,
|
||||||
@@ -59,9 +37,7 @@
|
|||||||
"url": "tunkki:3333",
|
"url": "tunkki:3333",
|
||||||
"user": "${HOSTNAME}",
|
"user": "${HOSTNAME}",
|
||||||
"pass": "",
|
"pass": "",
|
||||||
"keepalive": true,
|
"keepalive": true
|
||||||
"nicehash": false,
|
|
||||||
"variant": "trtl"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"print-time": 60,
|
"print-time": 60,
|
||||||
@@ -71,13 +47,7 @@
|
|||||||
"retry-pause": 5,
|
"retry-pause": 5,
|
||||||
"syslog": true,
|
"syslog": true,
|
||||||
"tls": {
|
"tls": {
|
||||||
"enabled": false,
|
"enabled": false
|
||||||
"protocols": null,
|
|
||||||
"cert": null,
|
|
||||||
"cert_key": null,
|
|
||||||
"ciphers": null,
|
|
||||||
"ciphersuites": null,
|
|
||||||
"dhparam": null
|
|
||||||
},
|
},
|
||||||
"user-agent": null,
|
"user-agent": null,
|
||||||
"verbose": 0,
|
"verbose": 0,
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ services:
|
|||||||
#environment:
|
#environment:
|
||||||
# - TZ=Europe/Amsterdam
|
# - TZ=Europe/Amsterdam
|
||||||
volumes:
|
volumes:
|
||||||
- ./config.json:/xmrig/etc/config.json:ro
|
- ./config.json:/xmrig/etc/config.json:rw
|
||||||
- ./log:/xmrig/log
|
- ./log:/xmrig/log
|
||||||
command: ["/xmrig/xmrig", "--config=/xmrig/etc/config.json"]
|
command: ["/xmrig/xmrig", "--config=/xmrig/etc/config.json"]
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|||||||
Reference in New Issue
Block a user