Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3387405
D12812.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D12812.diff
View Options
diff --git a/services/terraform/self-host/keyserver_primary.tf b/services/terraform/self-host/keyserver_primary.tf
--- a/services/terraform/self-host/keyserver_primary.tf
+++ b/services/terraform/self-host/keyserver_primary.tf
@@ -3,9 +3,16 @@
keyserver_service_server_image = "commapp/keyserver:${local.keyserver_service_image_tag}"
keyserver_primary_container_name = "keyserver-primary"
+ keyserver_run_server_config = jsonencode({
+ runKeyserver = true
+ runWebApp = false
+ runLanding = false
+ })
+
primary_environment_vars = merge(local.shared_environment_vars,
{
- "COMM_NODE_ROLE" = "primary"
+ "COMM_NODE_ROLE" = "primary",
+ "COMM_JSONCONFIG_facts_run_server_config" = local.keyserver_run_server_config
})
primary_environment = [
diff --git a/services/terraform/self-host/keyserver_secondary.tf b/services/terraform/self-host/keyserver_secondary.tf
--- a/services/terraform/self-host/keyserver_secondary.tf
+++ b/services/terraform/self-host/keyserver_secondary.tf
@@ -3,7 +3,8 @@
secondary_environment_vars = merge(local.shared_environment_vars,
{
- "COMM_NODE_ROLE" = "secondary"
+ "COMM_NODE_ROLE" = "secondary",
+ "COMM_JSONCONFIG_facts_run_server_config" = local.keyserver_run_server_config
})
secondary_environment = [
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 30, 9:19 AM (18 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2600391
Default Alt Text
D12812.diff (1 KB)
Attached To
Mode
D12812: [terraform] run keyserver isolated from webapp and landing
Attached
Detach File
Event Timeline
Log In to Comment