Skip to content

Setting a tenant breaks the bootstrap process #81

@extsoft

Description

@extsoft

Docker tag: 3.2

Setup: The EdgeDB docker container connects to a Postgres DNS.

Default tenant:

EDGEDB_SERVER_BACKEND_DSN="postgre......"
EDGEDB_SERVER_USER=someuser
EDGEDB_SERVER_PASSWORD=somepassword
EDGEDB_SERVER_PORT=21111
EDGEDB_SERVER_TLS_CERT_MODE=generate_self_signed
EDGEDB_SERVER_ADMIN_UI= enabled

Custom tenant:

EDGEDB_SERVER_BACKEND_DSN="postgre......"
EDGEDB_SERVER_USER=someuser
EDGEDB_SERVER_PASSWORD=somepassword
EDGEDB_SERVER_PORT=21111
EDGEDB_SERVER_TLS_CERT_MODE=generate_self_signed
EDGEDB_SERVER_ADMIN_UI=enabled
EDGEDB_SERVER_TENANT_ID=edgedb3x

The default tenant configuration creates the new someuseruser. However, the custom tenant configuration does not create the someuser user.

P.S. As a temporary workaround, I add EDGEDB_SERVER_BOOTSTRAP_COMMAND="CREATE SUPERUSER ROLE 'someuser' { SET password := 'somepassword'; }" to the custom tenant configuration.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions