Add mounting config file to docker
This commit is contained in:
committed by
Steve Chavez
parent
4d623986ea
commit
750c22cd1c
@@ -78,6 +78,12 @@ These variables match the options shown in our :ref:`configuration` section, exc
|
|||||||
|
|
||||||
docker inspect -f "{{.Config.Env}}" postgrest/postgrest
|
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.
|
There are two ways to run the PostgREST container: with an existing external database, or through docker-compose.
|
||||||
|
|
||||||
Containerized PostgREST with native PostgreSQL
|
Containerized PostgREST with native PostgreSQL
|
||||||
|
|||||||
Reference in New Issue
Block a user