How To Code Well Team 236997
$ 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
$ docker-compose stop fah
$ docker-compose down -v --rmi='all'
# 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
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>