Skip to content

Make use of NEXTCLOUD_CONFIG_DIR #102

Description

@tobru

Now that version 9 is removed (#99) all available Nextcloud versions support the setting NEXTCLOUD_CONFIG_DIR. This could be leveraged to stop copying the Nextcloud source code to the volume during container startup in the entrypoint script (which I think is a bad practice). This would mean that the volume only contains the configuration, data, apps and themes directory. The environment variable would be configured like NEXTCLOUD_CONFIG_DIR=/var/www/html and PHP so that the programcode is coming from /usr/src/nextcloud/.

What do others think about this change?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions