#Pointing to config file

1 messages · Page 1 of 1 (latest)

covert phoenix
#

Yes, to point to a configuration file you can use the -v option to mount a volume that contains your configuration file into the container.

In the command, {YOUR-CONFIG-PATH} should be replaced with the path to your configuration directory on your host machine. This directory 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.

For a specific example on a Windows system, you can use a command like:

docker run -p 3476:3476 -p 3478:3478 -v C:\Users\oscar.zizumbo\Desktop:/config ghcr.io/permify/permify serve

Here, C:\Users\oscar.zizumbo\Desktop is the path on your local Windows machine that contains the config.yaml file. This path is mounted to /config inside the container, where the Permify server expects to find its configuration.