-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Hello,
is it possible to add some important environment variables from here:
https://github.com/owncloud-docker/base#available-environment-variables
For example, the OVERWRITEPROTOCOL variable needs to be set to https to get certain things to work when using nextcloud behind an Nginx proxy. This can be done by using the PHP occ command but only if the nextcloud container is fully running.
I wrote some bash scripts that automatically copy some files and my docker-compose.yml into a folder. But it's not possible to run the PHP occ command inside the script as it says nextcloud isn't ready yet. (even with a 30-second sleep timer).
I'm gettings this error:
Nextcloud is not installed - only a limited number of commands are available
There are no commands defined in the "config:system" namespace.
I've tried to set environment variables using the NC_ prefix but I realized that only works for already present variables in the config.php (not for new / not added ones).
It would help a lot if it's somehow possible to get more then the available 10 environment variables.
EDIT:
I just found this PR which would solve the problem but I don't know if it's being continued?
#527