-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support ENV variable for nextcloud logging behavior #1754
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
I came here looking for such an ENV setting for the default phone region. I don't want to have to change config.php at all from the default the image comes with. |
You can achieve any actions needed inside the container using a bash script. Also you can set the logging inside the config too, to a specific file with the same method. |
You can already use environment variables like |
This comment was marked as off-topic.
This comment was marked as off-topic.
Closing since this is already supported in at least two ways:
|
In order to go with best practice for docker. Would it be usefull to implement a logging behavior via env variables?
That way it can be configured to log to SdtOut on startup.
I think it's usefull for:
- orchestrator like swarm/kubernetes.
- centralized logging
- fail2ban with docker json logging driver
For example in the alpine image we could implement another config.php somthing like log.config.php
I can create a pr, but have requested before so I don't waste time on it.
Regards
Markus
The text was updated successfully, but these errors were encountered: