You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trivernis
033e78a680
Signed-off-by: trivernis <trivernis@protonmail.com> |
4 years ago | |
---|---|---|
src | 4 years ago | |
.gitignore | 4 years ago | |
Cargo.lock | 4 years ago | |
Cargo.toml | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago |
README.md
Snekcloud
This repository contains the snekcloud server implementation.
Usage
USAGE:
snekcloud-server [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
generate-key Generates a new private key
help Prints this message or the help of the given subcommand(s)
write-info-file
When run without a subcommand the server executes normally.
Configuration
Basic server configuration is done in .env files.
Variable | Description | Default Value |
---|---|---|
SNEKCLOUD_NODES_DIR | Directory containing the .toml files for the network nodes | nodes |
SNEKCLOUD_PRIVATE_KEY | Path of the private key (generated with generate-key) | node_key |
SNEKCLOUD_LISTEN_ADDRESS | The address the server listens on | 127.0.0.1:22222 |
SNEKCLOUD_NODE_ID | The NodeID of the instance | None |
The NodeID is a parameter that can either be set manually or is generated from the mac-address or hostname depending on what is available.
License
This project is licensed under GNU General Public License 3.