OpenSlides / openslides-media-service

Media service for OpenSlides 3+
MIT License
0 stars 14 forks source link

Change the path to the credentials for a database connection #42

Closed GabrielInTheWorld closed 1 year ago

GabrielInTheWorld commented 3 years ago

In https://github.com/OpenSlides/openslides-manage-service/pull/ the defaults of some env vars in the manage service will change. In this repo the vars MEDIA_DATABASE_PASSWORD_FILE and MEDIA_DATABASE_USER_FILE is affected. (Maybe the user file var should removed, but this is another discussion, see OpenSlides/openslides-manage-service#116.) The new value is /run/secrets/postgres_password and not /run/secrets/media_postgres_password because in default setup there is only one postgres instance and password for all services (datastore, media and vote).

Please check if is is necessary or at least a good idea to change the defaults here or at least in dev setup to be more consistant.

Originally posted by @normanjaeckel in https://github.com/OpenSlides/openslides-media-service/issues/27#issuecomment-981171562