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
Owner

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
Add selected environment options
Some checks failed
continuous-integration/drone/pr Build is failing
f81b91db99
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
Owner

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
Set new config options to default values
Some checks failed
continuous-integration/drone/pr Build is failing
a781e47fe2
decentral1se merged commit fd2c333a54 into main 2021-07-30 18:45:57 +00:00
Owner

Thanks! 🚀

Thanks! 🚀
Sign in to join this conversation.
No description provided.