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
@@ -207,17 +216,35 @@ Although Proxy attempts to detect the environment and set a sensible default for
207
216
To turn on human-friendly logging:
208
217
209
218
```bash
210
-
CS_LOG__FORMAT = "pretty"
211
-
CS_LOG__ANSI_ENABLED = "true"
219
+
CS_LOG__FORMAT="pretty"
220
+
CS_LOG__ANSI_ENABLED="true"
212
221
```
213
222
214
223
If you are frequently changing the database schema or making updates to the column encryption configuration, it can be useful to reload the config and schema more frequently:
215
224
216
225
```bash
217
-
CS_DATABASE__CONFIG_RELOAD_INTERVAL = "10"
218
-
CS_DATABASE__SCHEMA_RELOAD_INTERVAL = "10"
226
+
CS_DATABASE__CONFIG_RELOAD_INTERVAL="10"
227
+
CS_DATABASE__SCHEMA_RELOAD_INTERVAL="10"
228
+
```
229
+
230
+
### Docker-specific configuration
231
+
232
+
As a convenience for local development, if you use [Proxy's Docker container](../proxy.Dockerfile) with its default entrypoint and the below environment variables set, the EQL SQL will be applied to the database, and an example schema (for example, with the `users` table, from the [README Getting Started example](../README.md#getting-started)) will be loaded. These are turned on by default in the [development `docker-compose.yml`](../docker-compose.yml):
233
+
234
+
(It is not recommended to use either of these in production.)
235
+
236
+
```bash
237
+
CS_DATABASE__INSTALL_EQL="true"
238
+
CS_DATABASE__INSTALL_EXAMPLE_SCHEMA="true"
239
+
```
240
+
241
+
As a convenience for production deployments, with the below environment variable set, the Proxy container will add the AWS RDS global certificate bundle to the operating system's set of trusted certificates. This is recommended when running Proxy on AWS.
242
+
243
+
```bash
244
+
CS_DATABASE__INSTALL_AWS_RDS_CERT_BUNDLE="true"
219
245
```
220
246
247
+
221
248
## Prometheus metrics
222
249
223
250
To enable a Prometheus exporter on the default port (`9930`) use either:
0 commit comments