Sign inSign up

irulast/chia-forks

By irulast

•Updated about 5 years ago

Prebuilt images for various chia forks.

Image
0

1.6K

irulast/chia-forks repository overview

⁠Quick reference

⁠Chia Fork Containers

Brought to you by Irulast⁠

logo

These images allow simplified setup of multiple forks of Chia for shared harvesting.

⁠Basic Startup

docker run --name <container-name> -d irulast/chia-forks:<fork-name>-<branch-name>
(optional -v /path/to/plots:/plots)
(optional -v /path/to/database:/root/.<coin-name>) Example: /home/myuser/.chia:/root/.chia
⁠set the timezone for the container (optional, defaults to UTC)

Timezones can be configured using the TZ env variable. A list of supported time zones can be found here⁠

-e TZ="America/Chicago"

⁠Configuration

You can modify the behavior of your Chia or fork container by setting specific environment variables.

To use your own keys pass as arguments on startup (post 1.0.2 pre 1.0.2 must manually pass as shown below)

-v /path/to/key/file:/path/in/container -e keys="/path/in/container"

or pass keys into the running container

docker exec -it <container-name> <executable-name (chia/dogechia/flax)> keys add

alternatively you can pass in your local keychain, if you have previously deployed chia with these keys on the host machine

-v ~/.local/share/python_keyring/:/root/.local/share/python_keyring/

To start a farmer only node pass

-e farmer="true"

To start a harvester only node pass

-e harvester="true" -e farmer_address="addres.of.farmer" -e farmer_port="portnumber" -v /path/to/ssl/ca:/path/in/container -e ca="/path/in/container" -e keys="copy"

The plots_dir environment variable can be used to specify the directory containing the plots, it supports PATH-style colon-separated directories.

⁠or run commands externally with venv (this works for most chia XYZ commands)
docker exec -it <container-name> <executable-name (chia/dogechia/flax)> plots add -d /plots
⁠status from outside the container
docker exec -it <container-name> <executable-name (chia/dogechia/flax)> show -s -c
⁠Connect to testnet?
docker run -d --expose=58444 --expose=8555 -e testnet=true --name <container-name> irulast/chia-forks:<fork-name>-<branch-name>
⁠Need a wallet?
docker exec -it <container-name> <executable-name (chia/dogechia/flax)> wallet show (follow the prompts)

Tag summary

Content type

Image

Digest

Size

131 MB

Last updated

about 5 years ago

docker pull irulast/chia-forks:tad-1.0.1