mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
29 lines
765 B
YAML
29 lines
765 B
YAML
# gotchas:
|
|
# - 'pid: host' allows boinc to determine nonboinc processes for cpu percentages
|
|
# and exclusive applications
|
|
# - 'group_add' removed in 3.0
|
|
# - 'cpus' available from 2.2 and removed in 3.0
|
|
#
|
|
# sources:
|
|
# - https://hub.docker.com/r/boinc/client
|
|
# - https://docs.docker.com/compose/compose-file/compose-file-v2/
|
|
|
|
version: '2.2'
|
|
services:
|
|
client:
|
|
image: boinc/client:intel
|
|
container_name: boinc-client
|
|
restart: always
|
|
network_mode: host
|
|
pid: host
|
|
mem_swappiness: 1
|
|
devices:
|
|
- /dev/dri:/dev/dri
|
|
volumes:
|
|
- /etc/resolv.conf:/etc/resolv.conf:ro
|
|
- ${PWD}/data:/var/lib/boinc
|
|
environment:
|
|
- BOINC_CMD_LINE_OPTIONS=--allow_remote_gui_rpc
|
|
- BOINC_GUI_RPC_PASSWORD=123
|
|
- TZ=Europe/Dublin
|