Skip to content

Commit

Permalink
[tests-only][full-ci] use nats registry in ocis (#9949)
Browse files Browse the repository at this point in the history
* use nats registry in ocis

* fix nats connection
  • Loading branch information
saw-jan authored Dec 5, 2023
1 parent f501c41 commit f67246a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -1279,7 +1279,10 @@ def ocisService(type, tika_enabled = False, enforce_password_public_link = False
}
if type == "app-provider":
environment["GATEWAY_GRPC_ADDR"] = "0.0.0.0:9142"
environment["MICRO_REGISTRY"] = "mdns"
environment["MICRO_REGISTRY"] = "natsjs"
environment["MICRO_REGISTRY_ADDRESS"] = "0.0.0.0:9233"
environment["NATS_NATS_HOST"] = "0.0.0.0"
environment["NATS_NATS_PORT"] = 9233
else:
environment["WEB_UI_CONFIG_FILE"] = "%s" % dir["ocisConfig"]
environment["STORAGE_HOME_DRIVER"] = "ocis"
Expand Down Expand Up @@ -2196,7 +2199,8 @@ def appProviderService(name):
"APP_PROVIDER_WOPI_INSECURE": True,
"APP_PROVIDER_WOPI_WOPI_SERVER_EXTERNAL_URL": "http://wopiserver:8880",
"APP_PROVIDER_WOPI_FOLDER_URL_BASE_URL": "https://ocis:9200",
"MICRO_REGISTRY": "mdns",
"MICRO_REGISTRY": "natsjs",
"MICRO_REGISTRY_ADDRESS": "ocis:9233",
}

if name == "collabora":
Expand Down

0 comments on commit f67246a

Please sign in to comment.