-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use default file for config.yml #151
Comments
Sry, I accidentally opened the issue in the backend. It was for the openslides-manage-service |
Hm. I don't like such implicit stuff. In this case it must be configurable so that someone may have such a file and does not want to use it. I think this is too much complexity for this rare case. Most users with small meetings should use the default and then customized the docker-compose file by hand. |
Please don't encourage people to manually edit the docker-compose file. On the contrary, you should add a When a user changes the file and then recreates it after an update or after changing the config, all manual changes will be lost. If they should change the file, you have to implement some sort of diff-mechanism, that merges the manual changes. I had the problem with the issue #145 . After each change of the config, I had to manually change the docker-compose file again. This was annoying. Especially users with small meetings and not so much knowledge should only edit the simple config.yml instead of the powerful docker-compose.yml. It will be very hard to debug issues, when users have there individual docker-compose files. But it will be kind of easy if they have there own config.yml |
Hm. What about using a docker-compose.override.yml? |
my outsider perspective is:
|
i've been thinking and actually, using extending/overriding configuration files w/ Docker-Compose is the proper way to go. but that also means:
this is slightly off-topic for this issue (and doesn't add any argument regarding the initial proposal), but in the end the questions are culminating in the user experience. shall i open a separate issue in this regard? |
As we discussed, when I want to rebuild the docker-compose.yml, I first remove it and then call
openslides setup
for the same directory.But I also have to remember to set
--config config.yml
.Would it be possible, that if the folder exists and there is a file with a special name, then it is automaticly used as config? For example
openslides.yml
?The text was updated successfully, but these errors were encountered: