Decide on better defaults for apps settings #171
Labels
No Label
abra
abra-gandi
awaiting-feedback
backups
bug
build
ci/cd
community organising
contributing
coopcloud.tech
democracy
design
documentation
duplicate
enhancement
finance
funding
good first issue
help wanted
installer
kadabra
performance
proposal
question
recipes.coopcloud.tech
security
test
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/organising#171
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I was trying to deploy nextcloud and the default PHP settings aren't the best IMO. We should have a model server configuration for writing configs. The default php-fpm.ini (for nextcloud) assumes a server with roughly 5-6GB of RAM and more or less 8 cores. I propose we try keeping the defaults more sane so that the apps can be ran on f1-s capsul (1 core, 1GB of memory) and where it's not possible, inform the user in README and give them minimum requirements. Also this should appear in the docs.
I'm choosing f1-s capsul as a model because if you need more power that means you'll have more users so you likely have more experience and will not be intimidated by editing config files and will be able to judge i.e. how many children can php-fpm spawn.
Maybe in the future we can have different configs for different capsul/servers.coop tiers? And then deploy apps from the servers.coop web interface with the config appropriate for a specific tier? :> that's not critical now though.
Nice.
Yes right, I remember discussing this at some point. It would totally make sense to parametrize the type of configs that are loaded in based on the system requirements. That would be amazing.
I could imagine a
${STACK_NAME}_{SIZE}_MY_CNF_${VERSION}
or something where${SIZE}
can be configured? Then we'd have aconf/
folder in the recipes to match{small,medium,large}
or whatever.This hooks into #29 and #65 I think. We probably want to have a sliding scale for the app limits also based on the system requirements?
It'd be nice to come up with a plan for this soon.
Decide on sane defaults for apps settingsto Decide on better defaults for apps settingsI think we can resolve this just by doubling down on dding hooks into the configs of each recipe via the env vars. At this point, doing something like #171 (comment) would likely break more than it would do good. So, just parametrizing values in configs seems the safest.
#171 (comment)