fix: edgedb
This commit is contained in:
parent
6fa4741c81
commit
07cadb59e0
@ -737,7 +737,7 @@ type DatabaseConfiguration = {
|
|||||||
EDGEDB_SERVER_PASSWORD: string;
|
EDGEDB_SERVER_PASSWORD: string;
|
||||||
EDGEDB_SERVER_USER: string;
|
EDGEDB_SERVER_USER: string;
|
||||||
EDGEDB_SERVER_DATABASE: string;
|
EDGEDB_SERVER_DATABASE: string;
|
||||||
EDGEDB_SERVER_SECURITY: string;
|
EDGEDB_SERVER_TLS_CERT_MODE: string;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
export function generateDatabaseConfiguration(database: any, arch: string): DatabaseConfiguration {
|
export function generateDatabaseConfiguration(database: any, arch: string): DatabaseConfiguration {
|
||||||
@ -869,7 +869,7 @@ export function generateDatabaseConfiguration(database: any, arch: string): Data
|
|||||||
EDGEDB_SERVER_PASSWORD: rootUserPassword,
|
EDGEDB_SERVER_PASSWORD: rootUserPassword,
|
||||||
EDGEDB_SERVER_USER: rootUser,
|
EDGEDB_SERVER_USER: rootUser,
|
||||||
EDGEDB_SERVER_DATABASE: defaultDatabase,
|
EDGEDB_SERVER_DATABASE: defaultDatabase,
|
||||||
EDGEDB_SERVER_SECURITY: 'insecure_dev_mode'
|
EDGEDB_SERVER_TLS_CERT_MODE: 'generate_self_signed'
|
||||||
},
|
},
|
||||||
image: `${baseImage}:${version}`,
|
image: `${baseImage}:${version}`,
|
||||||
volume: `${id}-${type}-data:/var/lib/edgedb/data`,
|
volume: `${id}-${type}-data:/var/lib/edgedb/data`,
|
||||||
|
@ -42,13 +42,13 @@
|
|||||||
/></label
|
/></label
|
||||||
>
|
>
|
||||||
<CopyPasswordField
|
<CopyPasswordField
|
||||||
disabled={!$status.database.isRunning}
|
readonly
|
||||||
readonly={!$status.database.isRunning}
|
disabled
|
||||||
placeholder="Generated automatically after start"
|
placeholder="Generated automatically after start"
|
||||||
isPasswordField
|
isPasswordField
|
||||||
id="rootUserPassword"
|
id="rootUserPassword"
|
||||||
name="rootUserPassword"
|
name="rootUserPassword"
|
||||||
bind:value={database.rootUserPassword}
|
value={database.rootUserPassword}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user