You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,13 @@ cargo run -p sentry -- --help
57
57
58
58
Starting the Sentry API in will always run migrations, this will make sure the database is always up to date with the latest migrations, before starting and exposing the web server.
59
59
60
-
By default, we use the `development` environment ( [`ENV` environment variable](#environment-variables) ) as it will also seed the database.
60
+
By default, we use the `development` environment ( [`ENV` environment variable](#environment-variables) ) ~~as it will also seed the database~~ (seeding is disabled, see #514).
61
+
62
+
To enable TLS for the sentry server you need to pass both `--privateKeys` and
63
+
`--certificates` cli options (paths to `.pem` files) otherwise the cli will
64
+
exit with an error.
65
+
66
+
For full list of available addresses see [primitives/src/test_util.rs#L39-L118](./primitives/src/test_util.rs#L39-L118)
For full list, check out [primitives/src/util/tests/prep_db.rs#L29-L43](./primitives/src/util/tests/prep_db.rs#L29-L43)
117
-
118
122
#### Environment variables
119
123
120
124
-`ENV` - `production` or `development`; *default*: `development` - passing this env. variable will use the default configuration paths - [`docs/config/dev.toml`](./docs/config/dev.toml) (for `development`) or [`docs/config/prod.toml`](./docs/config/prod.toml) (for `production`). Otherwise you can pass your own configuration file path to the binary (check `cargo run -p sentry --help` for more information). In `development` it will make sure Sentry to seed the database.
121
125
-`PORT` - *default*: `8005` - The local port that Sentry API will be accessible at
122
126
-`IP_ADDR` - *default*: `0.0.0.0` - the IP address that the API should be listening to
123
127
124
128
##### Adapter
129
+
125
130
-`KEYSTORE_PWD` - Password for the `Keystore file`, only available when using `Ethereum` adapter (`--adapter ethereum`)
0 commit comments