Query migration to db done - Query persistence in cache is also done
This commit is contained in:
@@ -192,6 +192,7 @@ public class DeploymentWriter {
|
||||
appendEnvironment(env, "REDIS_HOST", runtime.redisHost());
|
||||
appendEnvironment(env, "REDIS_PORT", runtime.redisPort());
|
||||
appendEnvironment(env, "REDIS_PASSWORD", runtime.redisPassword());
|
||||
appendEnvironment(env, "REDIS_DATABASE", "1");
|
||||
appendEnvironment(env, "REDIS_SSL", Boolean.toString(runtime.redisSsl()));
|
||||
appendEnvironment(
|
||||
env, "CYGNUS_CLOUD_BASE_URL", normalizedCloudServiceUrl(runtime));
|
||||
|
||||
@@ -109,6 +109,7 @@ class DeploymentWriterTest {
|
||||
.contains("MATRIX_IMAGE=\"registry.example.com/matrix:1.0.0\"")
|
||||
.contains("MATRIX_DB_URL=\"jdbc:postgresql://db:5432/matrix\"")
|
||||
.contains("REDIS_HOST=\"redis\"")
|
||||
.contains("REDIS_DATABASE=\"1\"")
|
||||
.contains("CYGNUS_CLOUD_BASE_URL=\"http://host.docker.internal:8090\"")
|
||||
.contains("CYGNUS_TOKEN_URL=\"http://host.docker.internal:8090/oauth2/token\"")
|
||||
.contains("CYGNUS_CLIENT_ID=\"matrix-client\"")
|
||||
|
||||
Reference in New Issue
Block a user