Add cluster worker implementation and configuration files

This commit is contained in:
Eduardo Silva
2025-12-30 16:33:51 -03:00
parent 4641fb5d36
commit a2e265bb16
8 changed files with 294 additions and 4 deletions

21
.env.cluster_example Normal file
View File

@@ -0,0 +1,21 @@
# Example configuration for Cluster Node
# Rename this file to .env before starting
# Master Server Address (where the API is hosting)
# Example: https://wireguard.example.com
MASTER_SERVER_ADDRESS=https://wireguard.example.com
# Timezone
TZ=America/Sao_Paulo
# Cluster Worker Token (Get this from the Master Server)
TOKEN=<uuid>
# Debug Mode (optional, default False)
DEBUG_MODE=False
# Compose Version (Do not change)
COMPOSE_VERSION=03r
# Timezone (duplicate for compatibility if needed, but TZ is standard)
TIMEZONE=America/Sao_Paulo