/folding-at-home

How To Code Well Folding@Home Team

Primary LanguageDockerfile

How To Code Well Folding@Home

How To Code Well Team 236997

Install

$ git clone https://github.com/howToCodeWell/folding-at-home
$ cp config.dist.xml config.xml

Adjust the variables in the config.xml

Build and run the Docker container

$ docker-compose up -d --build

Monitor the logs

$ docker-compose logs -f fah

Stopping containers

$ docker-compose stop fah

Uninstall

$ docker-compose down -v --rmi='all'

Install manually without Docker compose

# Create volume for work units
$ docker volume create fahclient

# Run container
$ docker run -v fahclient:/var/lib/fahclient -v ${PWD}/config.xml:/etc/fahclient/config.xml --name=fah -d howtocodewell/folding-at-home

Monitor the logs

$ docker logs -f fah

Configuration

A typical config file looks like this

<config>
  <user value="pfwd"/>
  <team value="236997"/>
  <passkey value="<YOUR_PASSKEY>"/>
  <power value="Medium"/>
  <gpu value="false"/>
  <fold-anon value="true"/>
  <cpus v='3'/>
</config>