Skip to content

Generate configuration files for Nextcloud.

License

axelrindle/nextcloud-config-generator

Repository files navigation

nextcloud-config-generator

Generate configuration files for Nextcloud.

A CLI tool which generates configuration files for Nextcloud on the fly. Suitable for Kubernetes deployments where the official Helm Chart seems unfitting or overwhelming.

Usage

Usage:
  nc-cfg-gen [command]

Config Generation
  dynamic     Generates the dynamic configuration, which may change during starts.
  secrets     Generates the secret values instanceid, passwordsalt and secret.

Use "nc-cfg-gen [command] --help" for more information about a command.

Configuration

Environment Variable Description Default Documentation
NC_HOST The primary public-facing URL
NC_SCHEME https
NC_TRUSTED_DOMAINS All URLs the nextcloud instance will be accessible at
NC_DB_TYPE dbtype
NC_DB_HOST dbhost
NC_DB_NAME dbname
NC_DB_USERNAME dbuser
NC_DB_PASSWORD dbpassword
NC_DB_PREFIX nc_ dbtableprefix
NC_DB_REPLICAS dbreplica
NC_MAIL_DOMAIN mail_domain
NC_MAIL_FROM_ADDRESS mail_from_address
NC_MAIL_MODE smtp mail_smtpmode
NC_MAIL_HOST mail_smtphost
NC_MAIL_PORT 25 mail_smtpport
NC_MAIL_SECURE true mail_smtpsecure
NC_MAIL_USERNAME mail_smtpname
NC_MAIL_PASSWORD mail_smtppassword
NC_REDIS_ENABLED false redis
NC_REDIS_HOST
NC_REDIS_PORT 6379
NC_REDIS_TIMEOUT
NC_REDIS_USERNAME
NC_REDIS_PASSWORD
NC_REDIS_DATABASE 0

License

MIT

About

Generate configuration files for Nextcloud.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published