From 750c22cd1cb577010512d0224034d8020a1ae1de Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Thu, 16 Apr 2020 12:35:57 -0500 Subject: [PATCH] Add mounting config file to docker --- install.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.rst b/install.rst index 0e0e2ae70..415757f45 100644 --- a/install.rst +++ b/install.rst @@ -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