From fc51d65d57d6318363ab876afa2955d4549a7c94 Mon Sep 17 00:00:00 2001 From: thespad Date: Sat, 6 Jul 2024 21:21:34 +0100 Subject: [PATCH] No need to mkdir /config, update readme --- readme-vars.yml | 12 +++++------- .../s6-overlay/s6-rc.d/init-foldingathome-config/run | 3 --- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/readme-vars.yml b/readme-vars.yml index 676af7d..8bb5de1 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -6,16 +6,12 @@ project_url: "https://foldingathome.org/" project_logo: "https://foldingathome.org/wp-content/uploads/2016/09/folding-at-home-logo.png" project_blurb: "[Folding@home]({{ project_url }}) is a distributed computing project for simulating protein dynamics, including the process of protein folding and the movements of proteins implicated in a variety of diseases. It brings together citizen scientists who volunteer to run simulations of protein dynamics on their personal computers. Insights from this data are helping scientists to better understand biology, and providing new opportunities for developing therapeutics." project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}" -project_blurb_optional_extras_enabled: false # supported architectures available_architectures: - { arch: "{{ arch_x86_64 }}", tag: "latest"} - { arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"} -# development version -development_versions: false - # container parameters common_param_env_vars_enabled: true param_container_name: "{{ project_name }}" @@ -38,6 +34,8 @@ opt_param_device_map: false opt_param_devices: - { device_path: "/dev/dri", device_host_path: "/dev/dri", desc: "Only needed if you want to use your Intel GPU (vaapi)." } +readonly_supported: true + # application setup block app_setup_block_enabled: true app_setup_block: | @@ -56,11 +54,11 @@ app_setup_block: | Unlike v7, v8 no longer bundles a local webgui. The web app is loaded from an online source and can only auto-detect instances that are running on the same machine (bare metal) as the browser. This is not possible in a docker container. Therefore, upgrading to v8 requires registering for an online account, retrieving the account token and setting it in the new env var `ACCOUNT_TOKEN`, along with a friendly name in `MACHINE_NAME`. ## GPU Hardware Acceleration - + ### Nvidia - + Hardware acceleration users for Nvidia will need to install the container runtime provided by Nvidia on their host, instructions can be found here: - https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html + https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html We automatically add the necessary environment variable that will utilise all the features available on a GPU on the host. Once nvidia container toolkit is installed on your host you will need to re/create the docker container with the nvidia container runtime `--runtime=nvidia` and add an environment variable `-e NVIDIA_VISIBLE_DEVICES=all` (can also be set to a specific gpu's UUID, this can be discovered by running `nvidia-smi --query-gpu=gpu_name,gpu_uuid --format=csv` ). NVIDIA automatically mounts the GPU and drivers from your host into the foldingathome docker container. # changelog diff --git a/root/etc/s6-overlay/s6-rc.d/init-foldingathome-config/run b/root/etc/s6-overlay/s6-rc.d/init-foldingathome-config/run index b3a25c7..ca1fb3c 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-foldingathome-config/run +++ b/root/etc/s6-overlay/s6-rc.d/init-foldingathome-config/run @@ -1,9 +1,6 @@ #!/usr/bin/with-contenv bash # shellcheck shell=bash -# create folders -mkdir -p /config - # permissions on config root and folders lsiown -R abc:abc \ /config