Add mounting config file to docker

This commit is contained in:
steve-chavez
2020-04-21 15:16:21 -05:00
committed by Steve Chavez
parent 4d623986ea
commit 750c22cd1c
+6
View File
@@ -78,6 +78,12 @@ These variables match the options shown in our :ref:`configuration` section, exc
docker inspect -f "{{.Config.Env}}" postgrest/postgrest
You can also specify a config file by mounting the file to the container:
.. code-block:: bash
docker run -v /absolute/path/to/config:/etc/postgrest.conf postgrest/postgrest
There are two ways to run the PostgREST container: with an existing external database, or through docker-compose.
Containerized PostgREST with native PostgreSQL