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
| BIND_ADDR | :25400 | The host and port to bind to
19
-
| GRACEFUL_SHUTDOWN_TIMEOUT | 5s | The graceful shutdown timeout in seconds (`time.Duration` format)
20
-
| HEALTHCHECK_INTERVAL | 30s | Time between self-healthchecks (`time.Duration` format)
21
-
| HEALTHCHECK_CRITICAL_TIMEOUT | 90s | Time to wait until an unhealthy dependent propagates its state to make this app unhealthy (`time.Duration` format)
22
-
| MOGODB_BIND_ADDR | localhost:27017 | The MongoDB bind address
23
-
| MONGODB_PERMISSIONS_DATABASE | permissions | The MongoDB permissions database
24
-
| MONGODB_ROLES_COLLECTION | roles | The MongoDB roles collection
25
-
| MONGODB_POLICIES_COLLECTION | policies | The MongoDB policies collection
26
-
| DEFAULT_LIMIT | 20 | Default limit for pagination
27
-
| DEFAULT_OFFSET | 0 | Default offset for pagination
28
-
| DEFAULT_MAXIMUM_LIMIT | 1000 | Default maximum limit for pagination
| BIND_ADDR | :25400 | The host and port to bind to |
19
+
| GRACEFUL_SHUTDOWN_TIMEOUT | 5s | The graceful shutdown timeout in seconds (`time.Duration` format) |
20
+
| HEALTHCHECK_INTERVAL | 30s | Time between self-healthchecks (`time.Duration` format) |
21
+
| HEALTHCHECK_CRITICAL_TIMEOUT | 90s | Time to wait until an unhealthy dependent propagates its state to make this app unhealthy (`time.Duration` format) |
22
+
| MONGODB_BIND_ADDR | localhost:27017 | The MongoDB bind address |
23
+
| MONGODB_USERNAME || The MongoDB Username |
24
+
| MONGODB_PASSWORD || The MongoDB Password |
25
+
| MONGODB_DATABASE | permissions | The MongoDB database |
26
+
| MONGODB_COLLECTIONS | RolesCollection:roles, PoliciesCollection:policies| The MongoDB collections |
27
+
| MONGODB_REPLICA_SET || The name of the MongoDB replica set |
28
+
| MONGODB_ENABLE_READ_CONCERN | false | Switch to use (or not) majority read concern |
29
+
| MONGODB_ENABLE_WRITE_CONCERN | true | Switch to use (or not) majority write concern |
30
+
| MONGODB_CONNECT_TIMEOUT | 5s | The timeout when connecting to MongoDB (`time.Duration` format) |
31
+
| MONGODB_QUERY_TIMEOUT | 15s | The timeout for querying MongoDB (`time.Duration` format) |
32
+
| MONGODB_IS_SSL | false | Switch to use (or not) TLS when connecting to mongodb |
33
+
| DEFAULT_LIMIT | 20 | Default limit for pagination |
34
+
| DEFAULT_OFFSET | 0 | Default offset for pagination |
35
+
| DEFAULT_MAXIMUM_LIMIT | 1000 | Default maximum limit for pagination |
0 commit comments