Skip to content

Commit

Permalink
Merge pull request #6482 from owncloud/fix-app-provider-config
Browse files Browse the repository at this point in the history
make the app provider service name configurable
  • Loading branch information
micbar authored Jun 8, 2023
2 parents 571a010 + 080293c commit e7a31a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog/unreleased/app-provider-service-name.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Enhancement: Make the app provider service name configurable

We needed to make the service name of the app provider configurable. This needs to be changed when using more than one app provider. Each of them needs be found by a unique service name. Possible examples are: `app-provider-collabora`, `app-provider-onlyoffice`, `app-provider-office365`.

https://github.com/owncloud/ocis/pull/6482
2 changes: 1 addition & 1 deletion services/app-provider/pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ type Log struct {
}

type Service struct {
Name string `yaml:"-"`
Name string `yaml:"name" env:"APP_PROVIDER_SERVICE_NAME" desc:"The name of the service. This needs to be changed when using more than one app provider. Each of them needs be found by a unique service name. Possible examples are: \"app-provider-collabora\", \"app-provider-onlyoffice\", \"app-provider-office365\"."`
}

type Debug struct {
Expand Down

0 comments on commit e7a31a0

Please sign in to comment.