-
Notifications
You must be signed in to change notification settings - Fork 30
/
docker-compose.yaml
43 lines (42 loc) · 1.02 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
version: "3.8"
services:
folding-at-home-cpu:
image: yurinnick/folding-at-home:latest
container_name: folding-at-home-cpu
environment:
- USER=Anonymous
- TEAM=0
- ENABLE_GPU=false
- ENABLE_SMP=true
- PUID=1000
- PGUI=1000
# - ALLOWED_HOSTS=0/0
volumes:
- /home/yurinnick/OneDrive/Workspace/folding-at-home-docker/tmp:/opt/fahclient/work
ports:
- 7396:7396
- 36330:36330
restart: unless-stopped
folding-at-home-gpu:
image: yurinnick/folding-at-home:latest-nvidia
container_name: folding-at-home-gpu
environment:
- USER=Anonymous
- TEAM=0
- ENABLE_GPU=true
- ENABLE_SMP=true
- PUID=1000
- PGUI=1000
# - ALLOWED_HOSTS=0/0
volumes:
- /home/yurinnick/OneDrive/Workspace/folding-at-home-docker/tmp:/opt/fahclient/work
deploy:
resources:
reservations:
devices:
- capabilities: [gpu]
ports:
- 7396:7396
- 36330:36330
restart: unless-stopped