forked from Chia-Network/drplotter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
51 lines (51 loc) · 1.62 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
44
45
46
47
48
49
50
51
version: '3'
services:
plotter:
image: ghcr.io/foxypool/drplotter:latest-plotter
restart: unless-stopped
runtime: nvidia
volumes:
- /path/to/plots:/plots
# environment:
# ## GPU Specific Options
# NVIDIA_VISIBLE_DEVICES: 0,3
command: plot -f <your_farmer_key> -c <your_pool_contract_address> -d /plots/ --compression <eco3x or pro4x>
server:
image: ghcr.io/foxypool/drplotter:latest-server
restart: unless-stopped
ports:
- "8080:8080"
# environment:
# DRPLOTTER_CLIENT_TOKEN: your_unique_48_character_token_here
solver:
image: ghcr.io/foxypool/drplotter:latest-solver
restart: unless-stopped
runtime: nvidia
tty: true
# environment:
# ## Remote drsolver
# DRPLOTTER_CLIENT_TOKEN: your_unique_48_character_token_here
# ## Local drserver
# DRSERVER_IP_ADDRESS: your_drserver_ip_address:port
# ## GPU Specific Options
# NVIDIA_VISIBLE_DEVICES: 0,3
harvester:
image: ghcr.io/foxypool/drplotter:latest-harvester
restart: unless-stopped
volumes:
- /path/to/.chia:/root/.chia
- /path/to/plots:/plots
# - /path/to/ssl/ca:/path/in/container
environment:
CHIA_LOG_LEVEL: 'INFO'
CHIA_PLOTS: /plots
CHIA_FARMER_ADDRESS: your_farmer_ip_or_hostname_here
CHIA_FARMER_PORT: 8447
# CHIA_HOSTNAME: 127.0.0.1
# TZ: 'UTC'
# ## Only set CHIA_CA once on init, remove afterward
# CHIA_CA: /path/in/container
# ## Remote drsolver
# DRPLOTTER_CLIENT_TOKEN: your_unique_48_character_token_here
# ## Local drserver
# DRSERVER_IP_ADDRESS: your_drserver_ip_address:port