cockroachdb / cockroachdb/cockroach
sql: Apply recommended cluster settings and sql statements to Docker image via env var
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
**Is your feature request related to a problem? Please describe.**
Cockroach documentation makes a recommendation regarding additional cluster settings and sql statements but those have to be applied manually. See https://www.cockroachlabs.com/docs/stable/local-testing#use-a-local-single-node-cluster-with-in-memory-storage
**Describe the solution you'd like**
It would be nice to have an env var that once set would apply those improvements automatically.
**Describe alternatives you've considered**
Always let the users declare those improvements.
**Additional context**
[Testcontainers offers a CockroachDb module](https://testcontainers.com/modules/cockroachdb/) and
there is a [PR](https://github.com/testcontainers/testcontainers-go/pull/2869) in Testcontainers for Go in order to apply those improvements but a more portable solution to other Testcontainers implementation would be the env var.
Jira issue: CRDB-44078
Epic CRDB-61003
Contributor guide
Assessment
This issue has not been assessed yet.