Folding@home is a distributed computing project aimed to help scientists develop new therapeutics for a variety of diseases by the means of simulating protein dynamics. This includes the process of protein folding and the movements of proteins, and is reliant on simulations run on volunteers' personal computers
Folding@Home is a distributed computing project aimed at simulating protein folding and other molecular dynamics.
You can setup an User Account to track your PPD (Points per Day) and done WUs (Work Units). To get a Passkey visit the Folding@home Passkey Site
You can add your earned Points to a Team that you support. This is not nessesary as the points are just to track how much work was done (with some exeptions). Here is the full List of the Teams
You can connect via FAHControl to your instance. WebUI is not supported because it wouldn't be password protected.
There are three power modes:
Only light and medium are useful because full enables gpu which is not supported in this egg. Light uses half of the available cpu cores of your system. Full uses all of your cpu cores. You can still limit the cpu usage via the panel.
Versions < v8 are supported. v8 is still beta and wont work with this egg. Get the latest v7 version number here: Folding@Home Downloadserver
Port | default |
---|---|
FAHControl | 36330 |
Name | Tag |
---|---|
Debian | ghcr.io/ptero-eggs/yolks:debian |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
FaH Username | Your Folding@Home Username | FAH_USERNAME | Anonymous | Yes | Yes |
FaH Team | Your Folding@Home Team that you are folding for. For reference look here: https://stats.foldingathome.org/team | FAH_TEAM | 0 | Yes | Yes |
FaH Passkey | Your Folding@Home Passkey for your Username, if not Anonymous. Get your Passkey here: https://apps.foldingathome.org/getpasskey | FAH_PASSKEY | Yes | Yes | |
FaH Anonymous Mode | Set to true if you are folding Anonymously | FAH_ANON | true | Yes | Yes |
FaH Version | Set to wanted major Folding@Home Version. Check here: https://download.foldingathome.org/releases/v7/public/fahclient/debian-stable-64bit/release/ | FAH_VERSION | 7.6.21 | Yes | Yes |
FaHControl Password | Set a WebUI Password | FAH_PASSWORD | SetPasswordHere | Yes | Yes |
FaH Power | The Powerlevel it should use: - light (only half the cpu power is used) - medium (full cpu power) - full (full cpu and gpu power but gpu is not supported) | FAH_POWER | medium | Yes | Yes |
#!/bin/bash
#
# Folding@Home install script
#
# Created by Fuggschen
export DEBIAN_FRONTEND=noninteractive
ARCH=$([[ "$(uname -m)" == "x86_64" ]] && echo "64bit" || echo "arm64")
cd /tmp
echo "Removing previous Version"
mv /mnt/server/config.xml /tmp/config.xml
rm -rf /mnt/server/*
echo "Installing dependencies"
apt update && apt upgrade -y && apt install curl bzip2 -y
echo "Downloading FAHClient"
curl -sSL -o fahclient.tar.bz2 https://download.foldingathome.org/releases/v7/public/fahclient/debian-stable-${ARCH}/release/fahclient_${FAH_VERSION}-64bit-release.tar.bz2
echo "Installing FAHClient"
tar -xjf fahclient.tar.bz2 -C /mnt/server --strip-components=1
echo "Cleaning up.."
rm -f fahclient.tar.bz2
rm -f /mnt/server/sample-config.xml
mv /tmp/config.xml /mnt/server/config.xml
FILE=/mnt/server/config.xml
if [[ ! -f $FILE ]]
then
echo "Setting up config.xml"
cat > $FILE << EOF
<config>
<!-- Folding Slots -->
<slot id='0' type='CPU'/>
<!-- Maximum CPU Cores to use. Can't be more than 64 -->
<cpus v='64'/>
</config>
EOF
fi
echo "Done!"