# Managing instance configuration {! backend/administration/CLI_tasks/general_cli_task_info.include !} ## Generate a new configuration file === "OTP" ```sh ./bin/pleroma_ctl instance gen [option ...] ``` === "From Source" ```sh mix pleroma.instance gen [option ...] ``` If any of the options are left unspecified, you will be prompted interactively. ### Options - `-f`, `--force` - overwrite any output files - `-o `, `--output ` - the output file for the generated configuration - `--output-psql ` - the output file for the generated PostgreSQL setup - `--domain ` - the domain of your instance - `--instance-name ` - the name of your instance - `--admin-email ` - the email address of the instance admin - `--notify-email ` - email address for notifications - `--dbhost ` - the hostname of the PostgreSQL database to use - `--dbname ` - the name of the database to use - `--dbuser ` - the user (aka role) to use for the database connection - `--dbpass ` - the password to use for the database connection - `--rum ` - Whether to enable RUM indexes - `--indexable ` - Allow/disallow indexing site by search engines - `--db-configurable ` - Allow/disallow configuring instance from admin part - `--uploads-dir ` - the directory uploads go in when using a local uploader - `--static-dir ` - the directory custom public files should be read from (custom emojis, frontend bundle overrides, robots.txt, etc.) - `--listen-ip ` - the ip the app should listen to, defaults to 127.0.0.1 - `--listen-port ` - the port the app should listen to, defaults to 4000 - `--strip-uploads-location ` - use ExifTool to strip uploads of sensitive location data - `--read-uploads-description ` - use ExifTool to read image descriptions from uploads - `--anonymize-uploads ` - randomize uploaded filenames - `--dedupe-uploads ` - store files based on their hash to reduce data storage requirements if duplicates are uploaded with different filenames - `--skip-release-env` - skip generation the release environment file - `--release-env-file` - release environment file path