Added Folding@Home config draft.
This commit is contained in:
parent
b0316ada7b
commit
e4e3af5aa7
11
folding-at-home/.env.dist
Normal file
11
folding-at-home/.env.dist
Normal file
|
@ -0,0 +1,11 @@
|
|||
EXT_PORT=7396
|
||||
|
||||
FAH_USER=skobkin
|
||||
FAH_TEAM=255284
|
||||
FAH_PASS=xxx
|
||||
|
||||
FAH_POWER=full
|
||||
|
||||
# Logs
|
||||
LOG_MAX_SIZE=5m
|
||||
LOG_MAX_FILE=5
|
17
folding-at-home/docker-compose.yml
Normal file
17
folding-at-home/docker-compose.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
version: '3.7'
|
||||
|
||||
services:
|
||||
folding-at-home:
|
||||
# https://hub.docker.com/r/johnktims/folding-at-home
|
||||
image: johnktims/folding-at-home:latest
|
||||
container_name: folding-at-home
|
||||
ports:
|
||||
- "127.0.0.1:${EXT_PORT}:7396/tcp"
|
||||
env_file: .env
|
||||
command: ["--user=${FAH_USER}", "--team=${FAH_TEAM}", "--passkey=${FAH_PASS}", "--power=${FAH_POWER}"]
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "${LOG_MAX_SIZE:-5m}"
|
||||
max-file: "${LOG_MAX_FILE:-5}"
|
Loading…
Reference in a new issue