Added Folding@Home config draft.

This commit is contained in:
Alexey Skobkin 2020-03-30 14:33:35 +03:00
parent b0316ada7b
commit e4e3af5aa7
No known key found for this signature in database
GPG Key ID: 5D5CEF6F221278E7
2 changed files with 28 additions and 0 deletions

11
folding-at-home/.env.dist Normal file
View 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

View 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}"