Closed IgnisDa closed 3 months ago
@azukaar There also needs to be a TZ
env variable set to for example Asia/Kolkata
. All other compose files say TZ=auto
. Should I use that too and cosmos will automatically set the correct value?
Thanks a bunch! Looks good. I can merge as soon as you remove the draft status and yes Cosmos automatically replaces "auto" with the user's timezone (assuming it is set on their server)
Does cosmos has the concept of generated variables? There is an env variable ADMIN_ACCESS_TOKEN
which should ideally be a secure 32 characters long.
Yes you have a password generator system, you can do something like that:
Those are 24 characters thought, so you could pad them with 8 additional char in the string if 32 is a requirement
THe 32 characters is not a hard requirement. Can you check if the configuration is fine?
You're missing one bit, something like this: https://github.com/azukaar/cosmos-servapps-official/blob/master/servapps/Nextcloud/cosmos-compose.json#L30
This allows Cosmos to force persisting env var when reinstalling apps from the market (because you keep the volumes so the tokens need to persist otherwise you lose access to the data on the volume). I am thinking you probably need to persist the admin token? Correct me if Im wrong
Other than that it looks good
Thanks. I fixed it.
On a different note, shouldn't that property be a string array instead?
On a different note, shouldn't that property be a string array instead?
It's a docker label, it can only be a string
Merged the PR, thanks a lot!
Fixes #153.