Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting a tenant breaks the bootstrap process #81

Open
extsoft opened this issue Aug 7, 2023 · 0 comments
Open

Setting a tenant breaks the bootstrap process #81

extsoft opened this issue Aug 7, 2023 · 0 comments
Assignees

Comments

@extsoft
Copy link

extsoft commented Aug 7, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants