Updated README.md

This commit is contained in:
tigerblue77 2022-04-11 19:20:05 +02:00
parent 82d94b6733
commit bd24d6e864

View File

@ -6,17 +6,36 @@ To use,
`FANSPEED` should be set as a hex value, e.g. `0x05` `FANSPEED` should be set as a hex value, e.g. `0x05`
Example `docker-compose.yml`: `docker-compose.yml` examples:
1. to use with local iDRAC:
```yml ```yml
version: '3' version: '3'
services: services:
fan-controller: Dell_iDRAC_fan_controller:
image: alombardo4/idrac-fan-control image: alombardo4/idrac-fan-control
restart: unless-stopped
environment:
- IDRAC_HOST=local # can be omitted as it is the default value
- FANSPEED=0x05 # set to the hex value you want to set the fans to (from 0 to 100%)
devices:
- /dev/ipmi0:/dev/ipmi0
```
2. to use with LAN iDRAC:
```yml
version: '3'
services:
Dell_iDRAC_fan_controller:
image: alombardo4/idrac-fan-control
restart: unless-stopped
environment: environment:
- IDRAC_HOST=192.168.1.100 # override to the IP of your IDRAC - IDRAC_HOST=192.168.1.100 # override to the IP of your IDRAC
- IDRAC_USER=root # set to your IPMI username - IDRAC_USER=root # set to your IPMI username
- IDRAC_PW=calvin # set to your IPMI password - IDRAC_PW=calvin # set to your IPMI password
- FANSPEED=0x05 # set to the hex value you want to set the fans to (from 0 to 100) - FANSPEED=0x05 # set to the hex value you want to set the fans to (from 0 to 100%)
``` ```