Closed bladedoyle closed 1 year ago
Why is the statistics webserver only for docker? Maybe this could be also integrated into p2pool itself if possible
@Titaniumtown Because this version of the statistics webserver is written in Python integration into the p2pool C++ codebase is not possible.
I could make it easy to use the statistics webserver with a non-dockerized p2pool instance if there is interest and SChernykh agrees. This would involve adding code to make it a python package, and pushing releases to PyPi for easy installation. If it were not exclusive to docker-compose we would want to move the code up into the project root (p2pool/statistics-webserver or similar), and add instructions to the main README.
Im happy to work on that if there is interest. If so, I propose those changes as a separate PR.
Good Grief. I still cant figure out how to use git properly.
I needed to make a change to the mount attribute for p2pool data into statistics container and made a bit of a mess as usual.
Anyway, I think I finally got this branch updated with master and the change I needed is added.
Oops, one small change needed for default configuration - should not include my own rpc login :)
I'll merge it after v2.2.1 release.
I am removing the health check from the monero container since: 1) you fixed the p2pool hangs on startup when monero rcp isnt listening issue and 2) too many syslog messages: https://github.com/docker/for-linux/issues/679 (which is "resolved" but not "fixed")
healthcheck removal complete. Ready to merge.
Enhanced the configuration. Added more config options for p2pool, monero, and xmrig Added a p2pool server statistics webserver container that is activated by "Enable Server Statistics" option (default is enabled). A few random fixes and README.md updates.
Note: This is the extent of the options I plan to add (unless there are specific requests, or p2pool adds new options).