Add selected environment options #7

Merged
decentral1se merged 2 commits from nicksellen/codimd:add/more-env-options into main 2021-07-30 18:45:57 +00:00
Member

Adds more environment options from https://docs.hedgedoc.org/configuration/. I just selected ones that don't look like they require any secrets.

I used this command to list the available options:

curl -s https://docs.hedgedoc.org/configuration/ | grep -Po 'CMD_[A-Z0-9_]+' | sort -u
Adds more environment options from https://docs.hedgedoc.org/configuration/. I just selected ones that don't look like they require any secrets. I used this command to list the available options: ``` curl -s https://docs.hedgedoc.org/configuration/ | grep -Po 'CMD_[A-Z0-9_]+' | sort -u ```
nicksellen added 1 commit 2021-07-30 18:13:02 +00:00
continuous-integration/drone/pr Build is failing Details
f81b91db99
Add selected environment options
decentral1se requested changes 2021-07-30 18:18:32 +00:00
.env.sample Outdated
@ -21,0 +21,4 @@
# Options, see https://docs.hedgedoc.org/configuration/
# CMD_ALLOW_ANONYMOUS
Owner

Think these all need =true/false?

Think these all need `=true/false`?
Author
Member

The values can be varied depending on the option, e.g. CMD_DEFAULT_PERMISSION can be editable, freely, limited, locked, protected or private

... so I was imagining they would refer back to the source to check the values?

Or do you think the possible values (and defaults?) be copied in here too?

The values can be varied depending on the option, e.g. `CMD_DEFAULT_PERMISSION` can be `editable, freely, limited, locked, protected or private` ... so I was imagining they would refer back to the source to check the values? Or do you think the possible values (and defaults?) be copied in here too?
decentral1se marked this conversation as resolved
nicksellen added 1 commit 2021-07-30 18:43:17 +00:00
continuous-integration/drone/pr Build is failing Details
a781e47fe2
Set new config options to default values
decentral1se merged commit fd2c333a54 into main 2021-07-30 18:45:57 +00:00
Owner

Thanks! 🚀

Thanks! 🚀
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 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/hedgedoc#7
No description provided.