Skip to content

Conversation

@fracado
Copy link
Contributor

@fracado fracado commented Apr 29, 2025

No description provided.

Copy link
Contributor

@tanyaka tanyaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment on lines 5 to 7
'forwarded_for_headers' => array(
'0' => 'HTTP_X_FORWARDED_FOR',
),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'forwarded_for_headers' => [ '0' => 'HTTP_X_FORWARDED_FOR', ],

this syntax is used in others config files. 🤷

@tanyaka
Copy link
Contributor

tanyaka commented Apr 30, 2025

We need to add 'NEXTCLOUD_LOGLEVEL', 'PASSWORD_SALT' and 'SECRET' to .env.sample in nc-docs-and-tools repo. Would be nice to have an explanation what they are. 🤔

'loglevel' => (string)getenv('NEXTCLOUD_LOGLEVEL'),
'log_file' => '',
'passwordsalt' => (string)getenv('PASSWORD_SALT'),
'secret' => (string)getenv('SECRET'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could also be beneficial to add a check to our configure script if those env vars are properly set and advise the user to do so otherwise (as for most env vars we have there)

@fracado fracado force-pushed the fb/dev/add-hidrive-config branch from c5a754d to 1915ab5 Compare April 30, 2025 13:23
@printminion-co printminion-co self-requested a review May 5, 2025 09:46
@printminion-co printminion-co force-pushed the fb/dev/add-hidrive-config branch 2 times, most recently from 20295ee to 5dddeeb Compare May 5, 2025 13:25
Copy link
Contributor

@printminion-co printminion-co left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

additional changes are required in order for dev container to use getenv logic.
the change is already made in dev repo

Comment on lines 21 to 23
'memcache.local' => '\OC\Memcache\APCu',
'memcache.locking' => '\OC\Memcache\Redis',
'memcache.distributed' => '\OC\Memcache\Redis',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets not move 'memcache.*' as for now to IONOS - since we have no macache locally.

'files_external_allow_create_new_local' => false,
'allow_local_remote_servers' => true,
'log_type' => 'errorlog',
'loglevel' => (string)getenv('NEXTCLOUD_LOGLEVEL'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets cast to int. Since value should be a integer


$CONFIG = [
'htaccess.RewriteBase' => '/',
'overwriteprotocol' => 'https',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets not move overwriteprotocol as for now since we dont have https configured in localdev

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets rename the file to server-base.config.php in order not to collide with the helm chart file server.config.php

Signed-off-by: Franziska Bath <[email protected]>
Co-authored-by: Misha M.-Kupriyanov <[email protected]>
@printminion-co printminion-co force-pushed the fb/dev/add-hidrive-config branch from 5f2800d to 8e3b64a Compare May 5, 2025 15:28
@printminion-co printminion-co merged commit ec73e09 into master May 5, 2025
8 checks passed
@printminion-co printminion-co deleted the fb/dev/add-hidrive-config branch May 5, 2025 15:28
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.

5 participants