Config path name change

This commit is contained in:
anon 2019-05-02 09:55:25 -04:00
parent bc3f0d5eaf
commit 754c8cb18d
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ Build the docker image in this directory. Start the `GraphiQL` frontend by:
* GraphiQL frontend is available at `:3000/graphiql`
GraphQL endpoint is available at `:3000/graphql`
By default, this build will expose only the "public" schema and will disable mutations - to change mutation behaviour, you can use an optional config file `config.toml` and set the env var `CONFIG_PATH` to point to its location. Example `toml`:
By default, this build will expose only the "public" schema and will disable mutations - to change mutation behaviour, you can use an optional config file `config.toml` and set the env var `POSTGRAPHILE_CONFIG_PATH` to point to its location. Example `toml`:
```
[database]

View File

@ -5,7 +5,7 @@ import {
PostgraphileOptions
} from '../adapters/postgraphile';
export const CONFIG_PATH_KEY = 'CONFIG_PATH';
export const CONFIG_PATH_KEY = 'POSTGRAPHILE_CONFIG_PATH';
export const SERVER_PORT_KEY = 'SERVER_PORT';
const DEFAULT_SERVER_PORT = '3000';