Dan

Results 52 comments of Dan

Nextcloud will look every `.php` file in the config directory. You can see how `OVERWRITEPROTOCOL`, `OVERWRITEWEBROOT`, and `TRUSTED_PROXIES` get set [in this file](https://github.com/nextcloud/docker/blob/master/23/apache/config/reverse-proxy.config.php) If you add config files, either by...

Sudo should not be installed in containers (it would be an extreme edge case for it to be needed). Any extra software is a potential maintenance/security issue. Running docker exec...

How are you running the container? It is likely you have run into some oddities with how this container operates. It works like the following 1. Container start 2. Check...

Well in this case there wouldn't be encryption keys; but it is still bad. Containers shouldn't be copying their application files to a mounted volume before running it from the...

There are encryption keys in `/var/www/html` !? If you're talking about keys in a custom apps directory then that should be its own volume for sure -- that vol will...

The container should not be copying the source files of the application around to begin with. Still would want the semaphore to avoid running `occ upgrade` more than once.

The right way to do this is a dockerfile that looks roughly like this: ``` FROM nextcloud: USER root RUN apt update; apt install ; apt USER www-data ``` The...

The NC docker docs just mention cron briefly, pointing to the examples: > The [examples folder](https://github.com/nextcloud/docker/blob/master/.examples) gives a few examples on how to add certain functionalities, like including the cron...

@keunes try setting the MYSQL variables in the environment of the cron container as well. They're not specifying any in the example, but I am going to guess that is...

The crazy part is that `/var/www/html/` contains the php source of the app. It is actually copying the *application source* to a volume when the main container updates, then keeping...