Run in a terminal
{YOUR-CONFIG-PATH}
.
Configure with a YAML file
This config path -{YOUR-CONFIG-PATH}
- should contain the config yaml file, where you can configure the Permify Server as well as define the database to store your authorization related data in.
By default, the container is configured to listen on ports 3476 (HTTP) and 3478 (gRPC) and store the authorization data in memory rather than an actual database.
Configure Using Flags
Alternatively, you can set configuration options using flags when running the command. See all the configuration flags by running,In addition to CLI flags, Permify also supports configuration via environment variables.You can replace any flag with an environment variable by converting dashes into underscores and prefixing with PERMIFY_ (e.g. —log-level becomes PERMIFY_LOG_LEVEL).