2021-12-24 19:38:53 +00:00
|
|
|
---
|
2021-11-10 23:35:39 +00:00
|
|
|
version: '3.4'
|
|
|
|
|
|
|
|
networks:
|
|
|
|
p2pool:
|
|
|
|
driver: bridge
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
p2pool:
|
2022-07-17 14:55:16 +00:00
|
|
|
|
2022-02-19 23:27:37 +00:00
|
|
|
name: p2pool
|
2022-06-17 04:34:41 +00:00
|
|
|
|
2022-07-17 14:55:16 +00:00
|
|
|
|
|
|
|
|
2021-11-10 23:35:39 +00:00
|
|
|
monero:
|
2022-02-19 23:27:37 +00:00
|
|
|
name: monero
|
2021-11-10 23:35:39 +00:00
|
|
|
|
2022-06-17 04:34:41 +00:00
|
|
|
|
2021-11-10 23:35:39 +00:00
|
|
|
services:
|
2022-06-17 04:34:41 +00:00
|
|
|
p2pool:
|
|
|
|
image: p2pool:latest
|
|
|
|
build: ../
|
|
|
|
container_name: p2pool-p2pool
|
|
|
|
networks:
|
|
|
|
- p2pool
|
2022-07-07 13:38:59 +00:00
|
|
|
privileged: true
|
2022-06-17 04:34:41 +00:00
|
|
|
ports:
|
|
|
|
|
|
|
|
- 37888:37888/tcp
|
|
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
- p2pool:/home/p2pool/.p2pool:rw
|
|
|
|
- /dev/null:/home/p2pool/.p2pool/p2pool.log:rw
|
|
|
|
- /dev/hugepages:/dev/hugepages:rw
|
|
|
|
|
|
|
|
depends_on:
|
2022-07-17 14:55:16 +00:00
|
|
|
- monero
|
2022-06-17 04:34:41 +00:00
|
|
|
|
|
|
|
restart: unless-stopped
|
|
|
|
command: >-
|
|
|
|
|
|
|
|
--host monero
|
|
|
|
|
|
|
|
--wallet 44MnN1f3Eto8DZYUWuE5XZNUtE3vcRzt2j6PzqWpPau34e6Cf4fAxt6X2MBmrm6F9YMEiMNjN6W4Shn4pLcfNAja621jwyg
|
|
|
|
--loglevel 3
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-07-07 13:38:59 +00:00
|
|
|
--local-api
|
|
|
|
--data-api /home/p2pool/.p2pool
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
statistics:
|
|
|
|
image: statistics:latest
|
|
|
|
build:
|
|
|
|
context: statistics
|
|
|
|
container_name: p2pool-statistics
|
|
|
|
networks:
|
|
|
|
- p2pool
|
|
|
|
ports:
|
|
|
|
- 3380:80/tcp
|
|
|
|
volumes:
|
|
|
|
- p2pool:/data:ro
|
|
|
|
depends_on:
|
|
|
|
- p2pool
|
|
|
|
restart: unless-stopped
|
|
|
|
|
2022-06-17 04:34:41 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-10 23:35:39 +00:00
|
|
|
monero:
|
|
|
|
image: monero:latest
|
|
|
|
build:
|
|
|
|
context: monero
|
|
|
|
args:
|
2022-06-17 04:34:41 +00:00
|
|
|
- MONERO_GIT_TAG=latest
|
2021-11-10 23:35:39 +00:00
|
|
|
container_name: p2pool-monero
|
|
|
|
networks:
|
|
|
|
- p2pool
|
|
|
|
ports:
|
|
|
|
- 18080:18080/tcp
|
2022-07-07 13:38:59 +00:00
|
|
|
|
2021-11-10 23:35:39 +00:00
|
|
|
volumes:
|
|
|
|
- monero:/home/monero/.bitmonero:rw
|
2022-06-17 04:34:41 +00:00
|
|
|
- /dev/null:/home/monero/.bitmonero/bitmonero.log:rw
|
2021-11-10 23:35:39 +00:00
|
|
|
- /dev/hugepages:/dev/hugepages:rw
|
|
|
|
restart: unless-stopped
|
|
|
|
command: >-
|
|
|
|
--zmq-pub tcp://0.0.0.0:18083
|
|
|
|
--disable-dns-checkpoints
|
|
|
|
--enable-dns-blocklist
|
2023-10-30 08:49:36 +00:00
|
|
|
--out-peers 16
|
|
|
|
--in-peers 32
|
2022-11-30 13:13:09 +00:00
|
|
|
--add-priority-node=nodes.hashvault.pro:18080
|
2023-09-06 20:06:13 +00:00
|
|
|
--add-priority-node=p2pmd.xmrvsbeast.com:18080
|
2021-11-10 23:35:39 +00:00
|
|
|
--non-interactive
|
|
|
|
--p2p-bind-ip=0.0.0.0
|
|
|
|
--p2p-bind-port=18080
|
|
|
|
--rpc-bind-ip=0.0.0.0
|
|
|
|
--rpc-bind-port=18081
|
2022-07-07 13:38:59 +00:00
|
|
|
--restricted-rpc
|
2021-11-10 23:35:39 +00:00
|
|
|
--confirm-external-bind
|
2022-06-17 04:34:41 +00:00
|
|
|
--log-level=0
|
|
|
|
|
|
|
|
--prune-blockchain
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-10 23:35:39 +00:00
|
|
|
|
2023-04-22 20:54:32 +00:00
|
|
|
--fast-block-sync=1
|
2022-07-07 13:38:59 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-11-10 23:35:39 +00:00
|
|
|
|
|
|
|
xmrig:
|
|
|
|
image: xmrig:latest
|
|
|
|
build: xmrig
|
|
|
|
container_name: p2pool-xmrig
|
|
|
|
networks:
|
|
|
|
- p2pool
|
|
|
|
privileged: true
|
|
|
|
volumes:
|
|
|
|
- /dev:/dev:ro
|
|
|
|
- /lib/modules:/lib/modules:ro
|
|
|
|
- /dev/hugepages:/dev/hugepages:rw
|
|
|
|
depends_on:
|
|
|
|
- p2pool
|
|
|
|
restart: unless-stopped
|
|
|
|
command: >-
|
|
|
|
--randomx-1gb-pages
|
|
|
|
-o p2pool:3333
|
2022-06-17 04:34:41 +00:00
|
|
|
|
|
|
|
-u p2pool
|
|
|
|
|
|
|
|
--cpu-max-threads-hint=100
|
2022-07-07 13:38:59 +00:00
|
|
|
--cpu-priority=2
|
2022-06-17 04:34:41 +00:00
|
|
|
|