This image uses autoconfiguration and updates bootstrap nodes on every lauch.
All available configuration parameters you can see in .env.example
.
If you don't want to use autoconfiguration from environment variables then just
put your config file in /etc/tox-bootstrap.conf with volume or modifying
Dockerfile.
If you don't want to autoupdate bootstrap nodes every lauch then set environment
variable TOX_UPDATE_NODES
to no
.
- Copy .env.example to .env and edit it
- Change ports in docker-compose.yml (optional)
docker-compose build
(optional)docker-compose up -d
- Copy .env.example to .env and edit it
docker build -t nyoroon/tox-bootstrapd .
(optional)- Run image with:
docker run --detach --name tox-bootstrapd \ --volume toxdata:/var/lib/tox-bootstrapd \ --port 33445:33445/udp --port 33445:33445 \ --env-file .env nyoroon/tox-bootstrapd