Adding more variable configs #36

Merged
javielico merged 4 commits from javielico/gitea:master into master 2024-04-24 10:01:47 +00:00
Member

Hey folks,

I've added some more variables for deploying Gitea, let me know if that's cool with you, I've not made changes on a while so if I've missed something, apologies!

Adding the following variables:

  • GITEA_SHOW_USER_EMAIL
  • GITEA_DISABLE_REGULAR_ORG_CREATION
  • GITEA_DEFAULT_KEEP_EMAIL_PRIVATE
  • GITEA_DEFAULT_ALLOW_CREATE_ORGANIZATION
  • GITEA_ENABLE_USER_HEATMAP
  • GITEA_DEFAULT_USER_VISIBILITY
  • GITEA_ALLOWED_USER_VISIBILITY_MODES
  • GITEA_DEFAULT_ORG_VISIBILITY
  • GITEA_REQUIRE_SIGNIN_VIEW

👋

Hey folks, I've added some more variables for deploying Gitea, let me know if that's cool with you, I've not made changes on a while so if I've missed something, apologies! Adding the following variables: - GITEA_SHOW_USER_EMAIL - GITEA_DISABLE_REGULAR_ORG_CREATION - GITEA_DEFAULT_KEEP_EMAIL_PRIVATE - GITEA_DEFAULT_ALLOW_CREATE_ORGANIZATION - GITEA_ENABLE_USER_HEATMAP - GITEA_DEFAULT_USER_VISIBILITY - GITEA_ALLOWED_USER_VISIBILITY_MODES - GITEA_DEFAULT_ORG_VISIBILITY - GITEA_REQUIRE_SIGNIN_VIEW 👋
javielico added 1 commit 2024-04-14 19:51:19 +00:00
Author
Member

Any input from anyone on this topic or happy to remove the WIP and merge?

Any input from anyone on this topic or happy to remove the WIP and merge?
javielico changed title from WIP: Adding more variable configs to Adding more variable configs 2024-04-17 19:04:07 +00:00
javielico added 1 commit 2024-04-18 18:01:50 +00:00
decentral1se approved these changes 2024-04-19 20:08:28 +00:00
decentral1se left a comment
Owner

LGTM! Altho i thought we also need to add them to https://git.coopcloud.tech/coop-cloud/gitea/src/branch/master/app.ini.tmpl? Or are they automatically picked up from the env?

LGTM! Altho i thought we also need to add them to https://git.coopcloud.tech/coop-cloud/gitea/src/branch/master/app.ini.tmpl? Or are they automatically picked up from the env?
Owner

Yeah good question @decentral1se, the docs seem to say there are only a few env vars supported, so I would say yes these new ones probably need to be added to app.ini.tmpl https://docs.gitea.com/next/administration/environment-variables

Once that's done I think this is good to go @javielico – the new settings won't break anyone's existing instances, and we can always change make further tweaks to defaults later if/when we make a decision on coop-cloud/organising#359

Yeah good question @decentral1se, the docs seem to say there are only a few env vars supported, so I would say yes these new ones probably need to be added to `app.ini.tmpl` https://docs.gitea.com/next/administration/environment-variables Once that's done I think this is good to go @javielico – the new settings won't break anyone's existing instances, and we can always change make further tweaks to defaults later if/when we make a decision on coop-cloud/organising#359
javielico added 1 commit 2024-04-23 15:13:47 +00:00
Author
Member

Hi @3wordchant, that's all done now, let me know if I've missed anything!

CC @decentral1se

Hi @3wordchant, that's all done now, let me know if I've missed anything! CC @decentral1se
javielico added 1 commit 2024-04-23 20:46:10 +00:00
Author
Member

Removed the line for ACCESS LOG as detailed on release note:
Deprecated config option `[log]` `ENABLE_ACCESS_LOG` present. Use `[log]` `logger.access.MODE` instead. This fallback will be/has been removed in 1.21 (and 4 more)

Removed the line for ACCESS LOG as detailed on release note: ```Deprecated config option `[log]` `ENABLE_ACCESS_LOG` present. Use `[log]` `logger.access.MODE` instead. This fallback will be/has been removed in 1.21 (and 4 more)```
decentral1se reviewed 2024-04-23 23:44:48 +00:00
decentral1se left a comment
Owner

🎉

🎉
javielico merged commit 53ffe86350 into master 2024-04-24 10:01:47 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/gitea#36
No description provided.