Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/28860/head
Michael Telatynski 2025-01-06 10:07:34 +00:00
parent 94697fe755
commit 9c52986d76
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D
2 changed files with 3 additions and 5 deletions

View File

@ -25,8 +25,8 @@ const test = base.extend<{
.withLogConsumer(logger.getConsumer("sliding-sync-proxy"))
.withEnvironment({
SYNCV3_SECRET: "bwahahaha",
SYNCV3_DB: `user=postgres dbname=postgres password=${postgres.getPassword()} host=${postgres.getHost()} sslmode=disable`,
SYNCV3_SERVER: `http://${homeserver.getNetworkNames()[0]}:8008`,
SYNCV3_DB: `user=postgres dbname=postgres password=${postgres.getPassword()} host=postgres sslmode=disable`,
SYNCV3_SERVER: `http://homeserver:8008`,
})
.start();

View File

@ -94,7 +94,7 @@ const DEFAULT_CONFIG = {
burst_count: 10000,
},
},
media_store_path: "/data/media_store",
media_store_path: "/tmp/media_store",
max_upload_size: "50M",
max_image_pixels: "32M",
dynamic_thumbnails: false,
@ -144,8 +144,6 @@ export class SynapseContainer extends GenericContainer {
const signingKey = randB64Bytes(32);
this.withWaitStrategy(Wait.forHttp("/health", 8008)).withCopyContentToContainer([
// Create an empty file with permissive permissions to allow the container to write to it
{ target: "/data/media_store/.gitkeep", content: "", mode: 0o777 },
{ target: "/data/localhost.signing.key", content: `ed25519 x ${signingKey}` },
{
target: "/data/log.config",