[DEPRECATED] Unofficial Flax-og (FoxyPool) Docker Container
2.9K
Source Code: https://github.com/lryanuk/chia-docker/tree/flax-og
docker run --name <container-name> -d lryanuk/flax-og-docker:latest
(optional -v /path/to/plots:/plots)
Timezones can be configured using the TZ env variable. A list of supported time zones can be found here
-e TZ="America/Chicago"
You can modify the behavior of your flax 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> venv/bin/flax keys add
alternatively you can pass in your local keychain, if you have previously deployed flax with these keys on the host machine
-v ~/.local/share/python_keyring/:/root/.local/share/python_keyring/
or if you would like to persist the entire mainnet subdirectory and not touch the key directories at all
-v ~/.flax/mainnet:/root/.flax/mainnet -e keys="persistent"
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.
docker exec -it flax venv/bin/flax plots add -d /plots
docker exec -it flax venv/bin/flax show -s -c
docker run -d --expose=58444 --expose=8555 -e testnet=true --name <container-name> lryanuk/flax-og-docker:latest
docker exec -it flax-farmer1 venv/bin/flax wallet show (follow the prompts)
Content type
Image
Digest
Size
254.8 MB
Last updated
over 5 years ago
docker pull lryanuk/flax-og-docker