* feat: add cli option * docs: add comprehensive docker guide and update readme * docs: refine docker guide config generation command * feat: automate docker build and deploy workflows via Taskfile * chore: consolidate docker files and refine documentation - Move all Docker-related files to docker/ directory - Consolidate DOCKER-README.md and DOCKER_GUIDE.md into docker/README.md - Update docker/Taskfile.yaml with refined paths and new tasks - Update root Taskfile.yaml to preserve only native build tasks - Update docker-compose.yml to map config to root .config/ - Expand docker/README.md with comprehensive guides and troubleshooting * chore: clean up taskfile * fix: comments * fix: remove additional comments * feat: move taskfile to root * fix: remove vdf commands * fix: comments
1.7 KiB
Quilibrium Docker Guide
This folder contains the Dockerfiles and related resources for Quilibrium. All commands should be executed from the root of the repository using task.
1. System Preparation
For system preparation follow the official Quilibrium Guide.
2. Configuration
Generating Config
The configuration directory .config is located at the root of the repository.
task config:gen
This will generate config.yml and keys.yml in the .config/ folder.
3. Workflow Options
You have two primary ways to use Docker with Quilibrium:
Option A: Build Binary via Docker (for Native Run)
If you prefer to run the node natively but don't want to set up the full Go build environment, you can use Docker to compile the binary for your specific platform.
-
Build and Export Binary: Run the task corresponding to your OS/Architecture:
- Linux AMD64:
task build_node_amd64_linux - Linux ARM64:
task build_node_arm64_linux - MacOS ARM:
task build_node_arm64_macos
- Linux AMD64:
-
Run Binary: The binary will be exported to
node/build/. You can then run it directly:./node/build/[platform]/node
Option B: Run Entirely via Docker
The node runs inside a Docker container.
-
Build the Image:
task build:node:source -
Deploy the Node:
task deploy:nodeand then you can use the standard docker commands to manage the node.
4. Maintenance & Backup
Important
Always backup your
.config/directory. It contains your unique node identity and balance information.
- Backup:
task backup - Restore:
task restore - Check Status:
task status