diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 5a3fc37e..1407f07e 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,10 +1,22 @@ contact_links: - - name: 🐛 Nextcloud issue - url: https://github.com/nextcloud/server/issues/new/choose - about: Bug reports and feature requests for Nextcloud - - name: 🐳 Docker Support and Help - url: https://forums.docker.com/ - about: Configuration, installation, networking and other questions - - name: ❓ Nextcloud Support and Help + - name: ❓ Ask a question url: https://help.nextcloud.com/ - about: Configuration, webserver/proxy or performance issues and other questions + about: Ask a question, get assistance or start a discussion regarding Nextcloud and/or this image + - name: Documentation - Nextcloud Server + url: https://docs.nextcloud.com/ + about: Official documentation for Nextcloud Server + - name: Documentation - Nextcloud Docker Image + url: https://github.com/nextcloud/docker/blob/master/README.md + about: Official documentation for this image + - name: 🐳 Documentation - Docker + url: https://docs.docker.com/ + about: Official documentation for Docker (installing, configuring, troubleshooting) + - name: 🐳 Docker Forum + url: https://forums.docker.com/ + about: Ask a question, get assistance or start a discussion regarding Docker + - name: 🐛 Bug Report: Nextcloud Server + url: https://github.com/nextcloud/server/issues/new/choose + about: Report a bug in Nextcloud Server + - name: Enhancement Idea: Nextcloud Server + url: https://github.com/nextcloud/server/issues/new/choose + about: Suggest an enhancement idea for Nextcloud Server diff --git a/29/apache/Dockerfile b/29/apache/Dockerfile index 3ca9ab54..1fb89a86 100644 --- a/29/apache/Dockerfile +++ b/29/apache/Dockerfile @@ -9,6 +9,7 @@ RUN set -ex; \ \ apt-get update; \ apt-get install -y --no-install-recommends \ + ffmpeg \ busybox-static \ bzip2 \ libldap-common \ diff --git a/29/fpm-alpine/Dockerfile b/29/fpm-alpine/Dockerfile index 47179e44..6bd0f220 100644 --- a/29/fpm-alpine/Dockerfile +++ b/29/fpm-alpine/Dockerfile @@ -8,6 +8,7 @@ ENV IMAGICK_COMMIT_HASH d7d3c24af1b4f599897408f1714600b69a56473b RUN set -ex; \ \ apk add --no-cache \ + ffmpeg \ imagemagick \ imagemagick-pdf \ imagemagick-jpeg \ diff --git a/29/fpm/Dockerfile b/29/fpm/Dockerfile index 3a984575..87d0e3ba 100644 --- a/29/fpm/Dockerfile +++ b/29/fpm/Dockerfile @@ -9,6 +9,7 @@ RUN set -ex; \ \ apt-get update; \ apt-get install -y --no-install-recommends \ + ffmpeg \ busybox-static \ bzip2 \ libldap-common \ diff --git a/30/apache/Dockerfile b/30/apache/Dockerfile index 472e005d..579629c6 100644 --- a/30/apache/Dockerfile +++ b/30/apache/Dockerfile @@ -9,6 +9,7 @@ RUN set -ex; \ \ apt-get update; \ apt-get install -y --no-install-recommends \ + ffmpeg \ busybox-static \ bzip2 \ libldap-common \ diff --git a/30/fpm-alpine/Dockerfile b/30/fpm-alpine/Dockerfile index b060e713..8c22fb4a 100644 --- a/30/fpm-alpine/Dockerfile +++ b/30/fpm-alpine/Dockerfile @@ -8,6 +8,7 @@ ENV IMAGICK_COMMIT_HASH d7d3c24af1b4f599897408f1714600b69a56473b RUN set -ex; \ \ apk add --no-cache \ + ffmpeg \ imagemagick \ imagemagick-pdf \ imagemagick-jpeg \ diff --git a/30/fpm/Dockerfile b/30/fpm/Dockerfile index 85d0f477..3200d8a6 100644 --- a/30/fpm/Dockerfile +++ b/30/fpm/Dockerfile @@ -9,6 +9,7 @@ RUN set -ex; \ \ apt-get update; \ apt-get install -y --no-install-recommends \ + ffmpeg \ busybox-static \ bzip2 \ libldap-common \ diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index 2295bddf..242a493d 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -7,6 +7,7 @@ ENV IMAGICK_COMMIT_HASH d7d3c24af1b4f599897408f1714600b69a56473b RUN set -ex; \ \ apk add --no-cache \ + ffmpeg \ imagemagick \ imagemagick-pdf \ imagemagick-jpeg \ diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index 8734caa9..72729fdf 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -8,6 +8,7 @@ RUN set -ex; \ \ apt-get update; \ apt-get install -y --no-install-recommends \ + ffmpeg \ busybox-static \ bzip2 \ libldap-common \ diff --git a/README.md b/README.md index ac5b0e28..9f13f17c 100644 --- a/README.md +++ b/README.md @@ -141,6 +141,17 @@ If mounting additional volumes under `/var/www/html`, you should consider: **Data inside the main folder (`/var/www/html`) will be overridden/removed during installation and upgrades, unless listed in [upgrade.exclude](https://github.com/nextcloud/docker/blob/master/upgrade.exclude).** The additional volumes officially supported are already in that list, but custom volumes will need to be added by you. We suggest mounting custom storage volumes outside of `/var/www/html` and if possible read-only so that making this adjustment is unnecessary. If you must do so, however, you may build a custom image with a modified `/upgrade.exclude` file that incorporates your custom volume(s). +## Running as an arbitrary user / file permissions / changing the default container user + +The default user within a container is root (uid = 0). By default, processes inside the container will expect to have root privileges. Network services will drop privileges and use `www-data` to serve requests. + +Depending on your volumes configuration, this can lead to permission issues. You can address this by running the container with a different default user. When changing the default user, the image will no longer assume it has root privileges and will run all processes under the specified uid. To accomplish this, use the `--user` / `user` option in your container environment. + +See: + +- https://docs.docker.com/engine/containers/run/#user +- https://github.com/docker-library/docs/tree/master/php#running-as-an-arbitrary-user +- https://docs.podman.io/en/stable/markdown/podman-run.1.html#user-u-user-group ## Accessing the Nextcloud command-line interface (`occ`)