Document needing to run 'stack build' after changing settings (#40)
* Document needing to run 'stack build' after changing settings * update readme Co-authored-by: Jon Schoning <jonschoning@gmail.com>
This commit is contained in:
parent
1a3bbef162
commit
3d66c508ff
13
README.md
13
README.md
|
@ -63,11 +63,18 @@ see https://github.com/jonschoning/espial-docker
|
|||
stack exec espial
|
||||
```
|
||||
|
||||
see `config/settings.yml` for changing default run-time parameters / environment variables
|
||||
### Configuration
|
||||
|
||||
default app http port: `3000`
|
||||
See `config/settings.yml` for changing default run-time parameters & environment variables.
|
||||
- `config/settings.yml` is embedded into the app executable when compiled, so after changing `config/settings.yml`, run `stack build` again to apply the new settings.
|
||||
- `config/settings.yml` values formatted like `_env:ENV_VAR_NAME:default_value` can be
|
||||
overridden by the specified environment variable.
|
||||
- Example
|
||||
- `_env:PORT:3000`
|
||||
- environment variable `PORT`
|
||||
- default app http port: `3000`
|
||||
|
||||
ssl: use reverse proxy
|
||||
SSL: use reverse proxy
|
||||
|
||||
## Development
|
||||
|
||||
|
|
Loading…
Reference in a new issue