Environment file
-
-
and also this https://help.penpot.app/technical-guide/configuration/#frontend
I've taken a quick look at the app's Cloudron package, and it seems like it simply needs a symbolic link from
/run/penpot/env.sh
-
We can add an
env.sh
to be sourced from/app/data/env.sh
however the runtime config will have to overwrite most settings in order to ensure it working.Which variables do you intend to change, so we can first see if it is even viable?
-
Right I think for this we should rather adjust the package to enable the
optionalSso
flag, otherwise this can have unexpected side-effects, if the app state assumes Cloudron OIDC and thus ensures that on startup, while the user overwrites some related env vars for custom use. This will especially become an issue if env vars change in the future.
1/6