You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/external_trigger.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ jobs:
20
20
echo "**** External trigger running off of master branch. To disable this trigger, set a Github secret named \"PAUSE_EXTERNAL_TRIGGER_FOLDINGATHOME_MASTER\". ****"
21
21
echo "External trigger running off of master branch. To disable this trigger, set a Github secret named \`PAUSE_EXTERNAL_TRIGGER_FOLDINGATHOME_MASTER\`" >> $GITHUB_STEP_SUMMARY
Copy file name to clipboardExpand all lines: README.md
+24-14Lines changed: 24 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,13 +59,19 @@ The architectures supported by this image are:
59
59
60
60
## Application Setup
61
61
62
-
This image sets up the Folding@home client. The interface is available at `http://your-ip:7396`.
62
+
This image sets up the Folding@home client. The interface is available at [https://app.foldingathome.org](https://app.foldingathome.org).
63
63
64
-
The built-in webserver provides very basic control (ie. GPUs are only active when set to `Medium` or higher). For more fine grained control of individual devices, you can use the FAHControl app on a different device and connect remotely via port `36330` (no password).
64
+
Before setting up this container, please register for an account on [https://app.foldingathome.org](https://app.foldingathome.org) and retrieve the account token shown in the account settings. That value should be populated in the `ACCOUNT_TOKEN` env var.
65
65
66
-
There are a couple of minor issues with the webgui:
67
-
- If you get an "ERR_EMPTY_RESPONSE" error when trying to access via IP, it's most likely due to a clash of cookies/cache. Try opening in an incgnito window.
68
-
- If you're getting a constant refresh of the window but no display of info, try a force refresh via `shft-F5` or `ctrl-F5`.
66
+
Once the container is created with the token and the machine name, the instance should be listed in the web app and can be controlled there.
67
+
68
+
Afterwards, the `ACCOUNT_TOKEN` and the `MACHINE_NAME` vars can be removed as the instance will already be associated with the online account and the info stored in the config folder.
69
+
70
+
## Migration from version 7.6
71
+
72
+
Version 8 of fah-client has been rewritten and has some breaking changes that we can't automatically mitigate in this container.
73
+
74
+
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`.
69
75
70
76
## GPU Hardware Acceleration
71
77
@@ -91,12 +97,13 @@ services:
91
97
- PUID=1000
92
98
- PGID=1000
93
99
- TZ=Etc/UTC
100
+
- ACCOUNT_TOKEN=
101
+
- MACHINE_NAME=
94
102
- CLI_ARGS= #optional
95
103
volumes:
96
-
- /path/to/data:/config
104
+
- /path/to/foldingathome/data:/config
97
105
ports:
98
-
- 7396:7396
99
-
- 36330:36330#optional
106
+
- 7396:7396#optional
100
107
restart: unless-stopped
101
108
```
102
109
@@ -108,10 +115,11 @@ docker run -d \
108
115
-e PUID=1000 \
109
116
-e PGID=1000 \
110
117
-e TZ=Etc/UTC \
118
+
-e ACCOUNT_TOKEN= \
119
+
-e MACHINE_NAME= \
111
120
-e CLI_ARGS= `#optional` \
112
-
-p 7396:7396 \
113
-
-p 36330:36330 `#optional` \
114
-
-v /path/to/data:/config \
121
+
-p 7396:7396 `#optional` \
122
+
-v /path/to/foldingathome/data:/config \
115
123
--restart unless-stopped \
116
124
lscr.io/linuxserver/foldingathome:latest
117
125
```
@@ -122,12 +130,13 @@ Containers are configured using parameters passed at runtime (such as those abov
122
130
123
131
| Parameter | Function |
124
132
| :----: | --- |
125
-
|`-p 7396`| Folding@home web gui. |
126
-
|`-p 36330`| Optional port for connecting remotely via FAHControl app (no password). |
133
+
|`-p 7396`| Folding@home web gui (redirects to [https://app.foldingathome.org](https://app.foldingathome.org)). |
127
134
|`-e PUID=1000`| for UserID - see below for explanation |
128
135
|`-e PGID=1000`| for GroupID - see below for explanation |
129
136
|`-e TZ=Etc/UTC`| specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |
130
-
|`-e CLI_ARGS=`| Optionally pass additional cli arguments to `FAHClient` on container start. |
137
+
|`-e ACCOUNT_TOKEN=`| Register for an account on `https://app.foldingathome.org` and retrieve account token in settings. Required on first start. |
138
+
|`-e MACHINE_NAME=`| Assign a friendly name to this instance (no spaces). Required on first start. |
139
+
|`-e CLI_ARGS=`| Optionally pass additional cli arguments to `fah-client` on container start. |
131
140
|`-v /config`| Where Folding@home should store its database and config. |
132
141
133
142
## Environment variables from files (Docker secrets)
@@ -291,6 +300,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
291
300
292
301
## Versions
293
302
303
+
***25.06.24:** - ***Breaking Changes*** - Please see the Application Setup section for more details. Restructure image for F@H v8.
294
304
***15.06.24:** - Rebase to Ubuntu Noble, add optional cli args.
295
305
***14.12.22:** - Rebase to Ubuntu Jammy, migrate to s6v3.
296
306
***15.01.22:** - Rebase to Ubuntu Focal. Add arm64v8 builds (cpu only). Increase verbosity about gpu driver permission settings.
Copy file name to clipboardExpand all lines: readme-vars.yml
+20-18Lines changed: 20 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -19,40 +19,41 @@ development_versions: false
19
19
# container parameters
20
20
common_param_env_vars_enabled: true
21
21
param_container_name: "{{ project_name }}"
22
-
param_usage_include_net: false
23
22
param_usage_include_env: true
23
+
param_env_vars:
24
+
- { env_var: "ACCOUNT_TOKEN", env_value: "", desc: "Register for an account on `https://app.foldingathome.org` and retrieve account token in settings. Required on first start." }
25
+
- { env_var: "MACHINE_NAME", env_value: "", desc: "Assign a friendly name to this instance (no spaces). Required on first start." }
24
26
param_usage_include_vols: true
25
27
param_volumes:
26
-
- { vol_path: "/config", vol_host_path: "/path/to/data", desc: "Where Folding@home should store its database and config." }
- { vol_path: "/config", vol_host_path: "/path/to/{{ project_name }}/data", desc: "Where Folding@home should store its database and config." }
33
29
34
30
# optional container parameters
35
31
opt_param_usage_include_env: true
36
32
opt_param_env_vars:
37
-
- { env_var: "CLI_ARGS", env_value: "", desc: "Optionally pass additional cli arguments to `FAHClient` on container start." }
38
-
opt_param_usage_include_vols: false
33
+
- { env_var: "CLI_ARGS", env_value: "", desc: "Optionally pass additional cli arguments to `fah-client` on container start." }
39
34
opt_param_usage_include_ports: true
40
35
opt_param_ports:
41
-
- { external_port: "36330", internal_port: "36330", port_desc: "Optional port for connecting remotely via FAHControl app (no password)." }
36
+
- { external_port: "7396", internal_port: "7396", port_desc: "Folding@home web gui (redirects to [https://app.foldingathome.org](https://app.foldingathome.org))." }
42
37
opt_param_device_map: false
43
38
opt_param_devices:
44
39
- { device_path: "/dev/dri", device_host_path: "/dev/dri", desc: "Only needed if you want to use your Intel GPU (vaapi)." }
45
40
46
41
# application setup block
47
42
app_setup_block_enabled: true
48
43
app_setup_block: |
49
-
This image sets up the Folding@home client. The interface is available at `http://your-ip:7396`.
50
-
51
-
The built-in webserver provides very basic control (ie. GPUs are only active when set to `Medium` or higher). For more fine grained control of individual devices, you can use the FAHControl app on a different device and connect remotely via port `36330` (no password).
52
-
53
-
There are a couple of minor issues with the webgui:
54
-
- If you get an "ERR_EMPTY_RESPONSE" error when trying to access via IP, it's most likely due to a clash of cookies/cache. Try opening in an incgnito window.
55
-
- If you're getting a constant refresh of the window but no display of info, try a force refresh via `shft-F5` or `ctrl-F5`.
44
+
This image sets up the Folding@home client. The interface is available at [https://app.foldingathome.org](https://app.foldingathome.org).
45
+
46
+
Before setting up this container, please register for an account on [https://app.foldingathome.org](https://app.foldingathome.org) and retrieve the account token shown in the account settings. That value should be populated in the `ACCOUNT_TOKEN` env var.
47
+
48
+
Once the container is created with the token and the machine name, the instance should be listed in the web app and can be controlled there.
49
+
50
+
Afterwards, the `ACCOUNT_TOKEN` and the `MACHINE_NAME` vars can be removed as the instance will already be associated with the online account and the info stored in the config folder.
51
+
52
+
## Migration from version 7.6
53
+
54
+
Version 8 of fah-client has been rewritten and has some breaking changes that we can't automatically mitigate in this container.
55
+
56
+
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`.
56
57
57
58
## GPU Hardware Acceleration
58
59
@@ -64,6 +65,7 @@ app_setup_block: |
64
65
65
66
# changelog
66
67
changelogs:
68
+
- { date: "25.06.24:", desc: "***Breaking Changes*** - Please see the Application Setup section for more details. Restructure image for F@H v8." }
0 commit comments