Skip to content

docker: Create default database #19826

@bdarnell

Description

@bdarnell

The docker images for postgres and mysql support environment variables (POSTGRES_DB and MYSQL_DATABASE) that will cause a default database to be created (among other things; looks like a user can be created too). We may want to allow similar automatic configuration for use in testing.

Epic CRDB-1424

Metadata

Metadata

Assignees

Labels

A-orchestrationRelating to orchestration systems like KubernetesA-tools-testcontainersC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)O-communityOriginated from the communityT-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions