Skip to content
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

Added docker env debug mode #2287

Closed
wants to merge 2 commits into from
Closed

Conversation

archmagece
Copy link

There doesn't seem to be an easy way to handle debug mode when running with docker, so it would be nice to add it.

I just added log.config.php to all config/ directory.

<?php
if (getenv('NEXTCLOUD_DEBUG_MODE') !== false) {
    $CONFIG = array (
        'debug' => true,
      );
}

@joshtrichards
Copy link
Member

Hi @archmagece! And thanks for contributing!

Specifying NC_debug=true as a Docker environment variable should work, though documentation for this is lacking upstream and here. See #2226.

@archmagece
Copy link
Author

I got it. Thank you for your resposne.

@archmagece archmagece closed this Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants