0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2024-11-06 06:14:57 +01:00

.examples/README.md: replace </br> with two spaces

This commit is contained in:
Ruben Barkow 2018-08-27 10:31:08 +02:00 committed by Marc Brückner
parent d75368bbbd
commit b7b85cf197

View file

@ -21,49 +21,49 @@ Example | Description
### full ### full
The `full` Dockerfile example adds dependencies for all optional packages suggested by nextcloud that may be needed for some features (e.g. Video Preview Generation), as stated in the [Administration Manual](https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html). The `full` Dockerfile example adds dependencies for all optional packages suggested by nextcloud that may be needed for some features (e.g. Video Preview Generation), as stated in the [Administration Manual](https://docs.nextcloud.com/server/12/admin_manual/installation/source_installation.html).
NOTE: The Dockerfile does not install the LibreOffice package (line is commented), because it would increase the generated Image size by approximately 500 MB. In order to install it, simply uncomment the 13th line of the Dockerfile.</br> NOTE: The Dockerfile does not install the LibreOffice package (line is commented), because it would increase the generated Image size by approximately 500 MB. In order to install it, simply uncomment the 13th line of the Dockerfile.
NOTE: Per default, only previews for BMP, GIF, JPEG, MarkDown, MP3, PNG, TXT, and XBitmap Files are generated. The configuration of the preview generation can be done in config.php, as explained in the [Administration Manual](https://docs.nextcloud.com/server/12/admin_manual/configuration_server/config_sample_php_parameters.html#previews)</br> NOTE: Per default, only previews for BMP, GIF, JPEG, MarkDown, MP3, PNG, TXT, and XBitmap Files are generated. The configuration of the preview generation can be done in config.php, as explained in the [Administration Manual](https://docs.nextcloud.com/server/12/admin_manual/configuration_server/config_sample_php_parameters.html#previews)
NOTE: Nextcloud recommends [disabling preview generation](https://docs.nextcloud.com/server/12/admin_manual/configuration_server/harden_server.html?highlight=enabledpreviewproviders#disable-preview-image-generation) for high security deployments, as preview generation opens your nextcloud instance to new possible attack vectors.</br> NOTE: Nextcloud recommends [disabling preview generation](https://docs.nextcloud.com/server/12/admin_manual/configuration_server/harden_server.html?highlight=enabledpreviewproviders#disable-preview-image-generation) for high security deployments, as preview generation opens your nextcloud instance to new possible attack vectors.
The required steps for each optional/recommended package that is not already in the Nextcloud image are listed here, so that the Dockerfile can easily be modified to only install the needed extra packages. Simply remove the steps for the unwanted packages from the Dockerfile. The required steps for each optional/recommended package that is not already in the Nextcloud image are listed here, so that the Dockerfile can easily be modified to only install the needed extra packages. Simply remove the steps for the unwanted packages from the Dockerfile.
#### PHP Module bz2 #### PHP Module bz2
`docker-php-ext-install bz2` </br> `docker-php-ext-install bz2`
#### PHP Module imagick #### PHP Module imagick
`apt install libmagickwand-dev` </br> `apt install libmagickwand-dev`
`pecl install imagick` </br> `pecl install imagick`
`docker-php-ext-enable imagick` </br> `docker-php-ext-enable imagick`
#### PHP Module imap #### PHP Module imap
`apt install libc-client-dev libkrb5-dev` </br> `apt install libc-client-dev libkrb5-dev`
`docker-php-ext-configure imap --with-kerberos --with-imap-ssl` </br> `docker-php-ext-configure imap --with-kerberos --with-imap-ssl`
`docker-php-ext-install imap` </br> `docker-php-ext-install imap`
#### PHP Module gmp #### PHP Module gmp
`apt install libgmp3-dev` </br> `apt install libgmp3-dev`
`docker-php-ext-install gmp` </br> `docker-php-ext-install gmp`
#### PHP Module smbclient #### PHP Module smbclient
`apt install smbclient libsmbclient-dev` </br> `apt install smbclient libsmbclient-dev`
`pecl install smbclient` </br> `pecl install smbclient`
`docker-php-ext-enable smbclient` </br> `docker-php-ext-enable smbclient`
#### ffmpeg #### ffmpeg
`echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list` </br> `echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list`
`apt install ffmpeg` </br> `apt install ffmpeg`
#### LibreOffice #### LibreOffice
`apt install LibreOffice` </br> `apt install LibreOffice`
#### CRON via supervisor #### CRON via supervisor
`apt install supervisor` </br> `apt install supervisor`
`mkdir /var/log/supervisord /var/run/supervisord` </br> `mkdir /var/log/supervisord /var/run/supervisord`
The following Dockerfile commands are also necessary for a sucessfull cron installation: </br> The following Dockerfile commands are also necessary for a sucessfull cron installation:
`COPY supervisord.conf /etc/supervisor/supervisord.conf` </br> `COPY supervisord.conf /etc/supervisor/supervisord.conf`
`CMD ["/usr/bin/supervisord"]` </br> `CMD ["/usr/bin/supervisord"]`