logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git

instance.md (2242B)


  1. # Managing instance configuration
  2. {! backend/administration/CLI_tasks/general_cli_task_info.include !}
  3. ## Generate a new configuration file
  4. === "OTP"
  5. ```sh
  6. ./bin/pleroma_ctl instance gen [option ...]
  7. ```
  8. === "From Source"
  9. ```sh
  10. mix pleroma.instance gen [option ...]
  11. ```
  12. If any of the options are left unspecified, you will be prompted interactively.
  13. ### Options
  14. - `-f`, `--force` - overwrite any output files
  15. - `-o <path>`, `--output <path>` - the output file for the generated configuration
  16. - `--output-psql <path>` - the output file for the generated PostgreSQL setup
  17. - `--domain <domain>` - the domain of your instance
  18. - `--instance-name <instance_name>` - the name of your instance
  19. - `--admin-email <email>` - the email address of the instance admin
  20. - `--notify-email <email>` - email address for notifications
  21. - `--dbhost <hostname>` - the hostname of the PostgreSQL database to use
  22. - `--dbname <database_name>` - the name of the database to use
  23. - `--dbuser <username>` - the user (aka role) to use for the database connection
  24. - `--dbpass <password>` - the password to use for the database connection
  25. - `--rum <Y|N>` - Whether to enable RUM indexes
  26. - `--indexable <Y|N>` - Allow/disallow indexing site by search engines
  27. - `--db-configurable <Y|N>` - Allow/disallow configuring instance from admin part
  28. - `--uploads-dir <path>` - the directory uploads go in when using a local uploader
  29. - `--static-dir <path>` - the directory custom public files should be read from (custom emojis, frontend bundle overrides, robots.txt, etc.)
  30. - `--listen-ip <ip>` - the ip the app should listen to, defaults to 127.0.0.1
  31. - `--listen-port <port>` - the port the app should listen to, defaults to 4000
  32. - `--strip-uploads-location <Y|N>` - use ExifTool to strip uploads of sensitive location data
  33. - `--read-uploads-description <Y|N>` - use ExifTool to read image descriptions from uploads
  34. - `--anonymize-uploads <Y|N>` - randomize uploaded filenames
  35. - `--dedupe-uploads <Y|N>` - store files based on their hash to reduce data storage requirements if duplicates are uploaded with different filenames
  36. - `--skip-release-env` - skip generation the release environment file
  37. - `--release-env-file` - release environment file path