Skip to content

Commit 0fe2821

Browse files
authored
docs: document PORT environment variable (#165)
1 parent 568ac5e commit 0fe2821

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ The backend can be configured with the following environment variables. None are
2424
| Name | Type | Default | Description |
2525
| -------------------- | ------------------------- | ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
2626
| `GIN_MODE` | One of `release`, `debug` | `release` | The mode that gin runs in. Only set this to `debug` on your development environment! |
27+
| `PORT` | `number` | `8080` | The port the backend listens on |
2728
| `LOG_FORMAT` | One of `json`, `human` | `json` if `GIN_MODE` is `release`, otherwise `human` | If log output is written human readable or as JSON. |
2829
| `DB_HOST` | `string` | | hostname or address of postgresql |
2930
| `DB_USER` | `string` | | username for the postgresql connection |

0 commit comments

Comments
 (0)