fix env variable for metadata user ID

This commit is contained in:
Michael Barz
2022-05-02 17:44:21 +02:00
parent af54f4d824
commit b08eb44c5b
3 changed files with 4 additions and 1 deletions

2
.vscode/launch.json vendored
View File

@@ -38,6 +38,8 @@
"IDM_ADMIN_PASSWORD": "admin",
// demo users
"IDM_CREATE_DEMO_USERS": "true",
// metadata storage
"METADATA_USER_ID": "some-metadata-user-id"
// OCIS_RUN_EXTENSIONS allows to start a subset of extensions even in the supervised mode
//"OCIS_RUN_EXTENSIONS": "settings,storage-metadata,glauth,graph,graph-explorer,idp,ocs,store,thumbnails,web,webdav,storage-frontend,storage-gateway,storage-userprovider,storage-groupprovider,storage-authbasic,storage-authbearer,storage-authmachine,storage-users,storage-shares,storage-public-link,storage-appprovider,storage-sharing,accounts,proxy,ocdav",
}

View File

@@ -3,3 +3,4 @@ Enhancement: wrap metadata storage with dedicated reva gateway
We wrapped the metadata storage in a minimal reva instance with a dedicated gateway, including static storage registry, static auth registry, in memory userprovider, machine authprovider and demo permissions service. This allows us to preconfigure the service user for the ocis settings service, share and public share providers.
https://github.com/owncloud/ocis/pull/3602
https://github.com/owncloud/ocis/pull/3647

View File

@@ -67,7 +67,7 @@ type Config struct {
TokenManager *shared.TokenManager `yaml:"token_manager"`
MachineAuthAPIKey string `yaml:"machine_auth_api_key" env:"OCIS_MACHINE_AUTH_API_KEY"`
TransferSecret string `yaml:"transfer_secret" env:"STORAGE_TRANSFER_SECRET"`
MetadataUserID string `yaml:"metadata_user_id"`
MetadataUserID string `yaml:"metadata_user_id" env:"METADATA_USER_ID"`
Runtime Runtime `yaml:"runtime"`
Audit *audit.Config `yaml:"audit"`