These are some guides for various use.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.3 KiB

7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
  1. # Folding-at-home
  2. ## Setup
  3. ### Docker
  4. The official container and documentation was made by [johnktims](https://hub.docker.com/r/johnktims/folding-at-home).
  5. #### Ports
  6. Set the following ports with the -p tag.
  7. | Container Port | Recommended outside port | Protocol | Description |
  8. | -------------- | ------------------------ | -------- | ----------- |
  9. | `7396` | `7396` | TCP | WebUI |
  10. #### Additional
  11. There are some special variables to set.
  12. | Flag | Usage |
  13. | --------- | ------------------------------------- |
  14. | `--user` | set your username |
  15. | `--power` | set the default power to fold at home |
  16. | `--team` | set your teamid to contribute points |
  17. ##### GPU
  18. To add a nvidia gpu add the `nvidia-docker-toolkit` or the recommended software
  19. for your gpu.
  20. After that you can set you gpu to fold aswell by adding `--gpus=all`.
  21. GPU support is also mentioned in [the docker entry](docker.md).
  22. #### Rebuild
  23. ```shell
  24. #!/bin/sh
  25. docker stop folding-at-home
  26. docker rm folding-at-home
  27. docker pull johnktims/folding-at-home
  28. docker run --name folding-at-home \
  29. --restart unless-stopped \
  30. -it \
  31. -p 7396:7396 \
  32. -d johnktims/folding-at-home \
  33. --user=default \
  34. --power=full \
  35. --team=000000
  36. ```