From 0d0c721992fa641f330413bd9a7cfe1c08dd9158 Mon Sep 17 00:00:00 2001 From: Nicolas Guelpa <1007819+cheesemacfly@users.noreply.github.com> Date: Thu, 23 Jul 2020 14:42:49 -0400 Subject: [PATCH] Update content.md The `'` characters around the parameter name and value prevent it to be properly passed and should be skipped. --- postgres/content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres/content.md b/postgres/content.md index 9992457b0..e273ac303 100644 --- a/postgres/content.md +++ b/postgres/content.md @@ -164,7 +164,7 @@ There are many ways to set PostgreSQL server configuration. For information on w - Set options directly on the run line. The entrypoint script is made so that any options passed to the docker command will be passed along to the `postgres` server daemon. From the [docs](https://www.postgresql.org/docs/current/static/app-postgres.html) we see that any option available in a `.conf` file can be set via `-c`. ```console - $ docker run -d --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword %%IMAGE%% -c 'shared_buffers=256MB' -c 'max_connections=200' + $ docker run -d --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword %%IMAGE%% -c shared_buffers=256MB -c max_connections=200 ``` ## Locale Customization