Commit Graph

85 Commits

Author SHA1 Message Date
J0WI
fbdb70e856
Remove workaround to create the postgres db (fix #886) (#961)
This reverts commit 4df6f79568.
The upstream bug has been fixed in https://github.com/nextcloud/server/pull/15187

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-01-13 16:11:28 +00:00
Diab Neiroukh
b3f71af495 Correct supervisord examples so that the container can start (#925)
Inspired by #847, I selected the rootdir as the place for our configuration
since we already chuck a few files there as seen by https://github.com/nextcloud/docker/blob/master/17.0/fpm-alpine/Dockerfile#L122.

Suggested-by: mikecai <mikecai@us.ibm.com>
Signed-off-by: Diab Neiroukh <officiallazerl0rd@gmail.com>
2020-01-09 14:05:36 +00:00
alexschroth
269a081138 examples: docker-compose: Update nginx configs (#912)
* examples: docker-compose: insecure: postgres: Update nginx.conf

This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.

References:

- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html

Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>

* examples: docker-compose: insecure: mariadb-cron-redis: Update nginx.conf

This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.

References:

- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html

Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>

* examples: docker-compose: insecure: mariadb: Update nginx.conf

This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.

References:

- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html

Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>

* examples: docker-compose: with-nginx-proxy: mariadb: Update nginx.conf

This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.

References:

- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html

Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>

* examples: docker-compose: with-nginx-proxy: mariadb-cron-redis: Update nginx.conf

This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.

References:

- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html

Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>

* examples: docker-compose: with-nginx-proxy: postgres: Update nginx.conf

This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.

References:

- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html

Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>

* examples: docker-compose: with-nginx-proxy-self-signed-ssl: mariadb: Update nginx.conf

This commit applies the latest nginx configuration from the official
documentation. Therefore it also helps to fix CVE-2019-11043.

References:

- https://nextcloud.com/blog/urgent-security-issue-in-nginx-php-fpm
- https://docs.nextcloud.com/server/17/admin_manual/installation/nginx.html

Signed-off-by: Alexander Schroth <alexander.schroth@fau.de>
2019-11-07 20:30:48 +01:00
J0WI
23b1488788 Add procps to smb examples (closes #557)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-11-06 11:38:08 +01:00
Marcel Klehr
7eb00b62aa Add gmp php extension
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2019-10-26 23:41:08 +02:00
Tilo Spannagel
4df6f79568 Allow nextcloud to create the postgres db (#784)
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-07-05 13:50:40 +02:00
Christoph Reiter
64607f4916 nginx-proxy: Set proxy_request_buffering to off. Fixes #650 (#651)
Otherwise nginx buffers uploads which at least with the linux client results
in large files failing to upload and the upload stats not updating.

Signed-off-by: Christoph Reiter <reiter.christoph@gmail.com>
2019-06-19 00:45:12 +02:00
ykgmfq
53bb46d1dc Let nginx decide on number of worker processes (#732)
From https://www.nginx.com/blog/tuning-nginx/:
In most cases, running one worker process per CPU core works well,
and we recommend setting this directive to auto to achieve that.
There are times when you may want to increase this number,
such as when the worker processes have to do a lot of disk I/O.
2019-06-19 00:37:44 +02:00
Guy Elsmore-Paddock
0b9f09e3e1 Issue #674 - Fix Remaining .woff2 Issues in NGinx Config Examples
This ensures that the remaining NGinx config examples are updated to handle WOFF 2 font files.

Closes #674.

Signed-off-by: Guy Elsmore-Paddock <guy@inveniem.com>
2019-03-04 19:37:37 -05:00
Tilo Spannagel
cc0564ed40
Remove app dockerfile
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2019-02-07 13:06:04 +01:00
Tilo Spannagel
b9ae3256ad
Merge pull request #600 from marceljd/redis-env-vars
Set Redis through environment variables
2019-02-07 12:20:53 +01:00
J0WI
bb10546327 Add SVG support in full example
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-02-01 21:08:33 +01:00
marceljd
e0de4ab285 removed old redis.config.php files
On branch redis-env-vars
 Changes to be committed:
	deleted:    ../../apache/app/redis.config.php
	deleted:    redis.config.php
	deleted:    ../../../../with-nginx-proxy/mariadb-cron-redis/apache/app/redis.config.php
	deleted:    ../../../../with-nginx-proxy/mariadb-cron-redis/fpm/app/redis.config.php

Signed-off-by: marceljd <support@dihosting.ch>
2019-01-27 15:08:57 +00:00
marceljd
a9f458ce9f Changes to be committed:
modified:   .config/redis.config.php
	modified:   .examples/docker-compose/insecure/mariadb-cron-redis/apache/docker-compose.yml
	modified:   .examples/docker-compose/insecure/mariadb-cron-redis/fpm/docker-compose.yml
	modified:   .examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/apache/docker-compose.yml
	modified:   .examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm/docker-compose.yml
	modified:   13.0/apache/Dockerfile
	modified:   13.0/apache/config/redis.config.php
	modified:   13.0/fpm-alpine/Dockerfile
	modified:   13.0/fpm-alpine/config/redis.config.php
	modified:   13.0/fpm/Dockerfile
	modified:   13.0/fpm/config/redis.config.php
	modified:   14.0/apache/Dockerfile
	modified:   14.0/apache/config/redis.config.php
	modified:   14.0/fpm-alpine/Dockerfile
	modified:   14.0/fpm-alpine/config/redis.config.php
	modified:   14.0/fpm/Dockerfile
	modified:   14.0/fpm/config/redis.config.php
	modified:   15.0/apache/Dockerfile
	modified:   15.0/apache/config/redis.config.php
	modified:   15.0/fpm-alpine/Dockerfile
	modified:   15.0/fpm-alpine/config/redis.config.php
	modified:   15.0/fpm/Dockerfile
	modified:   15.0/fpm/config/redis.config.php
	modified:   README.md

Signed-off-by: marceljd <support@dihosting.ch>
2019-01-27 13:46:25 +00:00
J0WI
250802c706
Merge pull request #586 from nicokaiser/nginx-woff2
Fix woff2 files in nginx examples
2019-01-21 17:57:56 +01:00
Nico Kaiser
f3524791d9 Fix woff2 files in nginx examples
Since some versions of Nextcloud, fonts are served as woff2, which is
not forwarded to index.php by the supplied nginx.conf. This leads to
nginx returning the dynamic index page instead of the static fonts.

Signed-off-by: Nico Kaiser <nico@kaiser.me>
2019-01-21 16:55:55 +01:00
J0WI
5f8fa19f04 Remove man dir from examples
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-01-14 19:06:22 +01:00
J0WI
7d262cbf97 Remove reference to line number
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-01-07 00:00:49 +01:00
J0WI
0e941215b1 Refactor install process and remove build deps
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-01-05 18:43:27 +01:00
J0WI
030a743b39 Add Alpine variant to Dockerfile examples
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2019-01-05 18:43:12 +01:00
Robert Dailey
2f90715d31
Add imagick php extension
There is a warning issued in Nextcloud 15 about 'imagick' php extension not
being present. They highly recommend that it be installed.

Fixes #574, fixes #263

Signed-off-by: Robert Dailey <rcdailey@gmail.com>
2018-12-12 13:44:27 -06:00
J0WI
aa5c0c1929 Use Alpine Linux in examples and use default user
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2018-11-20 20:24:22 +01:00
Marc Brückner
2d22bcaba7 fix #491: add NEXTCLOUD_UPDATE=1 to full example 2018-10-17 10:26:22 +02:00
Marc Brückner
f062435135 clarified use of variable 2018-10-16 16:38:36 +02:00
Marc Brückner
b25e1abe9c added variable to Dockerfiles of cron supervisord example 2018-10-16 16:38:04 +02:00
Marc Brückner
b8161a19a0 added description for cron supervisord example 2018-10-15 15:21:03 +02:00
Louis Matthijssen
a31db79ae9
Add Referrer-Policy header examples for nginx 2018-09-11 19:38:17 +02:00
Ruben Barkow
35fd42d042 example Dockerfiles: remove obsolete jessie backports (see #435) (#437)
The docker image already is on stretch, so no backports are needed
2018-08-27 17:27:21 +02:00
Ruben Barkow
7b19d3c352 .examples/README.md: fix typo: LibreOffice without caps (#436) 2018-08-27 11:58:21 +02:00
Ruben Barkow
0feb06c098 .examples/README.md: remove obsolete jessie backports (#435)
The docker image already is on stretch, so no backports are needed
2018-08-27 11:57:33 +02:00
Ruben Barkow
b7b85cf197 .examples/README.md: replace </br> with two spaces 2018-08-27 11:36:31 +02:00
Tilo Spannagel
6da6d063ef
Remove duplicated var from example
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-24 17:02:46 +02:00
Tilo Spannagel
71b4d891f8
Use $request_uri instead of $uri in nginx config
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-16 17:59:03 +02:00
Tilo Spannagel
aa9cd89b82 Fix full Dockerfile example 2018-08-06 14:40:03 +02:00
Freeroot
64a531b428 add infos from #409 in doc 2018-05-11 12:46:39 +02:00
Freeroot
7f611a569e add infos from #409 in doc 2018-08-05 11:25:47 +02:00
Tilo Spannagel
654ddeae23 Remove trailing whitespaces 2018-08-01 22:55:25 +02:00
Tilo Spannagel
9586356008 Add mariadb command line arguments 2018-08-01 22:02:44 +02:00
Tilo Spannagel
e05e2f1dd7 Use custom Dockerfiles instead of mounts 2018-08-01 21:59:11 +02:00
Lucian I. Last
c07de51f8e Add example for LAN solutions with HTTPS without letsencrypt #337
This is un-tested: will test and debug now.
2018-05-17 10:33:59 +02:00
rabaraho
d905503a6e Changed db build to pre-existing image with command arguments 2018-04-19 12:47:19 -04:00
Tilo Spannagel
01ad4658ab nginx: set the remote ip from X-Real-IP by default (#302) 2018-04-03 09:40:53 +02:00
Tilo Spannagel
bb42fcfaed
Merge pull request #183 from cropse/master
fix #176 Request Entity Too Large
2018-03-21 15:25:03 +01:00
Tilo Spannagel
60220247cc
Merge pull request #258 from Greek64/fix_TIL
Fix Transaction Isolation Level of MYSQL Databases in .example section
2018-03-21 15:14:48 +01:00
Tilo Spannagel
b2e04519ed
Use custom Dockerfile instead of mounted config
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-03-21 14:39:09 +01:00
tcuc
a3b3af32b1
minor typo. It's on line 13
just correcting the line number referenced, the comment is at line 13 not 14.
2018-02-20 16:37:11 +01:00
Greek
8c86333de9 * Fix the Transaction Isolation Level of the MYSQL/MariaDB Databases
in the .example section.
2018-02-08 20:34:08 +01:00
Tilo Spannagel
022575326b
Use cron.sh in the example dockerfiles 2018-01-30 13:40:15 +01:00
Tilo Spannagel
2e3645f853
Use cron.sh for the example docker-compose.yml's 2018-01-30 13:16:40 +01:00
Greek64
b60365aba2
Updated README.md in .example Section 2018-01-04 18:11:21 +01:00