Files
SODEW/sodew-bash-main/docs/options.md
T
2026-08-12 10:53:04 +02:00

130 lines
4.9 KiB
Markdown

[KUBE](../README.md)  /  Options
# Options
>Options in script `config.sh`
- `assetsPath` - Directory assets (for script)
- `dataPath` - Directory data (for script)
- `namespace` - Default kubernetes namespace
- `hostname` - Hostname server
- `basePath` - Base path for all resources
- `vhostsPath` - Directory for vhosts
- `domainsList` - File with domains list
***
- `k3sCmd` - Path to k3s on host
- `k3sReadyRetries` - Number of attempts to check k3s readiness
- `k3sReadySleep` - Pause between attempts
***
- `redisKube` - Redis identifier in k3s
- `redisSentinelKube` - Redis Sentinel identifier in k3s
- `redisYaml` - Path to file template YAML for Redis
- `redisPath` - Directory for Redis configuration
- `redisFileUsersAcl` - Filename for users in Redis
- `redisRootPass` - Redis password
***
- `mariadbKube` - MariaDB identifier in k3s
- `mariadbMasterKube` - MariaDB Master node identifier in k3s
- `mariadbSlaveKube` - MariaDB Slave node identifier in k3s
- `mariadbYaml` - Path to file template YAML for MariaDB
- `mariadbMasterPath` - Directory for MariaDB Master node (replica)
- `mariadbSlavePath` - Directory for MariaDB Slave node (replica)
- `mariadbRootPass` - MariaDB root password
***
- `openlitespeedKube` - Openlitespeed identifier in k3s
- `openlitespeedYaml` - Path to file template YAML for OpenLiteSpeed
- `openlitespeedPath` - Directory for OpenLiteSpeed configuration
- `openlitespeedAdminPath` - Directory for OpenLiteSpeed Admin configuration
- `openlitespeedConfigFile` - OpenLiteSpeed configuration file
- `openlitespeedVhostsPath` - Directory for vhosts configuration files
- `openlitespeedAdminPass` - OpenLiteSpeed admin panel password
***
- `postfixKube` - Postfix identifier in k3s
- `postfixYaml` - Path to file template YAML for Postfix
- `postfixPath` - Directory for Postfix
- `postfixConfigPath` - Directory for Postfix configuration
- `postfixDkimPath` - Directory for Postfix DKIM
- `postfixTlsCrtFile` - File TLS certificate (if not specified, a self-signed one will be generated)
- `postfixTlsKey` - Fil TLS key (if not specified, a self-signed one will be generated)
- `postfixHost` - Host for MTA
- `postfixPostmaster` - Postmaster (email) for MTA
- `postfixDefaultRealm` - Default realm for MTA
- `postfixDkimSelector` - Selector DKIM
- `postfixDomainsFile` - File of Domains list
- `postfixAliasesFile` - File of Aliases list
- `postfixSendersFile` - File of Senders list
- `postfixIp` - IP address for MTA
***
- `workerKube` - Worker identifier in k3s
- `workerYaml` - Path to file template YAML for Worker
- `workerPath` - Directory for Worker
- `workerAgentPath` - Path to directory with agent script
- `workerTasksPath` - Path to directory with tasks-files
- `workerFilesPath` - Path to directory with loading files
- `workerName` - Worker name
- `workerApiUrl` - URL to API
- `workerApiGettingPause` - Pause between requests for a new task
- `workerApiSendingPause` - Pause between sending task statuses
***
- `logPath` - Directory journals (for script)
- `logFile` - Log file name format
***
- `backupPath` - Directory for backups on current host
- `backupLogPath` - Directory for backups logs
- `backupType` - Backup Type (rsync, archive)
- `backupFirst` - Directory name for the first backup of the day
- `backupDays` - Number of last days of backup storage (excluding current day backups)
- `backupMask` - A mask for selecting backup storage day directories (must match `scriptDate`)
- `backupLongTermPath` - Directory for long-term backups
- `backupLongTermDays` - Minimum number of days for a long-term backup.
- `backupExcludeFile` - List of files and directories that were excluded during backup
- `backupExcludeList` - List of files and directories that should be excluded during backup
- `backupFileSizeMin` - Minimum archive size during verification (bytes)
- `backupElapsedMax` - Maximum time elapsed since the last backup was created (min)
***
- `storagePath` - Directory for backups on external storage
- `storageType` - Directory external storage (rsync, ssh)
- `storageDays` - Number of last days of backup storage on external storage (excluding current day backups)
***
- `rsyncUri` - URI (format: `user@server[:port][/path]`) (for rSync)
- `rsyncPassFile` - File with password (for rSync)
- `rsyncPath` - Directory for backups on external storage (for rSync)
***
- `ftpHost` - Hostname (for FTP)
- `ftpPort` - Port (for FTP)
- `ftpUser` - Username (for FTP)
- `ftpPass` - Password (for FTP)
- `ftpPath` - Directory for backups on external storage (for FTP)
***
- `sshHost` - Hostname (for SSH)
- `sshUser` - Username (for SSH)
- `sshKeyFile` - Public key file (for SSH)
- `sshPath` - Directory for backups on external storage (for SSH)
***
- `reportFile` - Filename for reports
- `reportMask` - Report filename mask
***
- `mailTo` - Email for sending reports (to)
- `mailFrom` - Email for sending reports (from)
***
- `cronJobs` - Jobs for adding to CRON
***
- `diskUsedSpaceLimit` - Limiting the disk space used (%)
***