Closed ScharfViktor closed 10 months ago
After the fix, it works well only if two variables are set.
MICRO_REGISTRY: nats-js-kv
MICRO_REGISTRY_ADDRESS: 127.0.0.1:9233
If we set only MICRO_REGISTRY then the start fails with error
2024-01-05 17:27:35 {"level":"error","service":"webfinger","error":"Failed to connect to NATS Server: nats: no servers available for connection","transport":"http","time":"2024-01-05T16:27:35Z","line":"github.com/owncloud/ocis/v2/services/webfinger/pkg/command/server.go:97","message":"Shutting down server"}
....
2024-01-05 17:27:47 {"level":"error","service":"invitations","error":"Failed to connect to NATS Server: nats: no servers available for connection","transport":"http","time":"2024-01-08T09:07:48Z","line":"github.com/owncloud/ocis/v2/services/invitations/pkg/command/server.go:89","message":"Shutting down server"}
@kobergj Do we miss somewhere the default?
5.0.0-rc.1
Steps:
MICRO_REGISTRY: "nats-js-kv"
in the ocis env section https://github.com/owncloud/ocis/blob/master/deployments/examples/ocis_wopi/docker-compose.ymlOCIS_DOCKER_TAG=5.0.0-rc.1 docker-compose up -d
Actual: ocis_log:
wopi_log:
CC @kobergj