J0WI
69c1e4a000
Update cache policy to match documentation ( fix #2313 ) ( #2369 )
11 months ago
HPPinata
8d2e9048bc
expire binlog ( #2350 )
...
* expire binlog
expire binlog entries older than a week to avoid unbounded binlog growth over longer timespans
Signed-off-by: HPPinata <83947761+HPPinata@users.noreply.github.com>
* kill binlog
remove all references and options regarding binlog from docker compose files
Signed-off-by: HPPinata <83947761+HPPinata@users.noreply.github.com>
---------
Signed-off-by: HPPinata <83947761+HPPinata@users.noreply.github.com>
12 months ago
Josh
9b245ac4a1
fix(examples): volumes must match (with-nginx-proxy-postgres-fpm)
...
Signed-off-by: Josh <josh.t.richards@gmail.com>
1 year ago
Josh
24b6769682
fix(examples): volumes must match (with-nginx-proxy-postgres-apache)
...
Signed-off-by: Josh <josh.t.richards@gmail.com>
1 year ago
Josh
7e188da4fa
fix(examples): volumes must match (with-nginx-proxy-mariadb-fpm)
...
Signed-off-by: Josh <josh.t.richards@gmail.com>
1 year ago
Josh
60f205abea
fix(examples): volumes must match (with-nginx-proxy-mariadb-apache)
...
Signed-off-by: Josh <josh.t.richards@gmail.com>
1 year ago
Josh
e3dc1f3d62
fix(examples): volumes must match (insecure-postgres-fpm)
...
Signed-off-by: Josh <josh.t.richards@gmail.com>
1 year ago
Josh
9395077d11
fix(examples): volumes must match (insecure-postgres-apache)
...
Signed-off-by: Josh <josh.t.richards@gmail.com>
1 year ago
Josh
abf51f1cd7
fix(examples): volumes must match (insecure-mariadb-fpm)
...
Signed-off-by: Josh <josh.t.richards@gmail.com>
1 year ago
Josh
9b63f3e4dc
fix(examples): volumes must match (insecure-mariadb-apache)
...
Signed-off-by: Josh <josh.t.richards@gmail.com>
1 year ago
Kaloyan Nikolov
8c777a4144
Update examples nginx configuration ( #2307 )
...
* Update config based on the official docs
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Update all example nginx configs according to the documentation
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
---------
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
1 year ago
J0WI
5a242f6055
MariaDB 10.11 ( #2298 )
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
1 year ago
Kaloyan Nikolov
38994cbb87
Documentation and examples update for use with docker compose v2 ( #2201 )
...
* Update examples section according to the latest docker compose requirements.
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Minor readme updates to match the changes for the compose v2 syntax.
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Fix wrong environment variable
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Add missing headers to fpm config
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Fix cache control
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Add mjs file extension in a proper way.
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Typos fixed, minor clarification changes
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Removed logging from compose files.
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Restored MariaDB to 10.6 as per docs suggestions
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Remove extra nginx volume
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Removed GH specific markdown from Readme, change mariadb to recommended version
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* typo
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Update .examples/docker-compose/with-nginx-proxy/postgres/apache/compose.yaml
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* Update to correct MariaDB command
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Updated compose files for mariadb to match current docs
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Update outdated docker-compose command in Readme
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Added back --log-bin to MariaDB command. See PR 1881
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Remove wrongly added logging to Readme.MD
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
* Use proper name for --log-bin param
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
---------
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
1 year ago
Josh
cb7acf5fe3
fix(examples): `libmagickcore-6.q16-6-extra` is already in the image
...
Signed-off-by: Josh <josh.t.richards@gmail.com>
2 years ago
Kaloyan Nikolov
b80875632e
Update the examples section according to the latest nginx configuration required. ( #2123 )
...
Signed-off-by: Kaloyan K Nikolov <tzerber@gmail.com>
2 years ago
am97
9dd8dcd5ee
Remove legacy header X-Download-Options in nginx.conf examples ( #2077 )
...
The header was relevant for Internet Explorer only and was removed from the nextcloud/server code: ea0e45d81e
Signed-off-by: Andrés Maldonado <maldonado@codelutin.com>
2 years ago
David Li
625dd013fa
Apply changes from #2033 to the examples. ( #2046 )
...
Signed-off-by: David Li <david@davidl.me>
2 years ago
Stavros Kois
8df9b2617e
Updates X-Robot-Tag in nginx.conf examples ( #1960 )
...
* Update X-Robot-Tag in nginx.conf example
Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
* update nginx.conf examples
* Update .examples/docker-compose/insecure/mariadb/fpm/web/nginx.conf
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
* apply to all files
---------
Signed-off-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
3 years ago
J0WI
3eb80c52b1
Support SELinux in docker-compose.yml examples ( fix #324 ) ( #1957 )
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
3 years ago
J0WI
30bb621341
Update MariaDB to 10.6 ( #1956 )
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
3 years ago
severinkaelin
9919d713e6
Reference latest instead of hardcoded versions in admin manual links ( #1947 )
...
Signed-off-by: severinkaelin <39438642+severinkaelin@users.noreply.github.com>
3 years ago
Adam Monsen
d1d0d89ba7
Enable MariaDB binary log ( #1881 )
...
* Enable MariaDB binary log
This resolves a warning in the database server log:
[Warning] You need to use --log-bin to make --binlog-format work.
Pros:
* support for point-in-time recovery
* necessary for replication
Cons:
* slows down database operations ("slightly", per the manual)
* takes up disk space (mitigated by `--expire-logs-days=2`)
See also:
* <https://mariadb.com/kb/en/binary-log/ >
* <https://mariadb.com/kb/en/full-list-of-mariadb-options-system-and-status-variables/ >
Alternatives:
1. Do not add `--log-bin`. Remove `--binlog-format` instead. This causes the least amount of change for existing installations.
Signed-off-by: Adam Monsen <haircut@gmail.com>
* remove --expire-logs-days=2 mariadb flag
This better aligns with recommendations in the Nextcloud documentation.
Also: the flag isn't necessary. There are already set times for cleanup: The MySQL and MariaDB documentation both state that binary logs will be purged on startup and flush/rotation.
Signed-off-by: Adam Monsen <haircut@gmail.com>
---------
Signed-off-by: Adam Monsen <haircut@gmail.com>
3 years ago
Adam Monsen
f49b1edcaa
add note about running non-root with cron ( #1901 )
...
Signed-off-by: Adam Monsen <haircut@gmail.com>
3 years ago
J0WI
6103e074d8
Fix #1021 ( #1872 )
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
3 years ago
J0WI
29ef76288a
Fix #1021 ( #1871 )
3 years ago
Adam Monsen
2a5bc6f3bb
enable mariadb auto upgrade ( #1814 )
...
* enable mariadb auto upgrade
This fixes after-upgrade issues, for example:
[ERROR] Incorrect definition of table mysql.event: expected column 'definer' at position 3 to have type varchar(, found type char(141).
The upgrade only happens when necessary.
I also disabled the system database backup because I assume users create
and test their own backups.
Signed-off-by: Adam Monsen <haircut@gmail.com>
* use 1s instead of "yesplease"
Any nonzero value is valid for these environment variables.
Signed-off-by: Adam Monsen <haircut@gmail.com>
Signed-off-by: Adam Monsen <haircut@gmail.com>
3 years ago
Jan Kiesewetter
522559eefd
Prevent nginx HTTP Server Detection
...
Signed-off-by: Jan Kiesewetter <jan@t3easy.de>
4 years ago
Lejo
0201ea31f4
Revert volumes_from ( #1677 )
...
Signed-off-by: Lejo1 <Lejo_1@web.de>
4 years ago
Lejo
3619c0caac
Update Nginx-Proxy Docker repository ( #1644 )
...
Signed-off-by: Lejo1 <Lejo_1@web.de>
4 years ago
aney1
f4dbcf523a
add rewrite rule from official docs to nginx examples ( #1635 )
...
Without this rewrite rule you can't access some pages (like LDAP config).
These lines are present in the official docs: https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
Signed-off-by: aney1 <aney1@users.noreply.github.com>
4 years ago
rafgk
d82bc95d11
Switch to new nginx companion registry. ( #1571 )
...
As stated in https://hub.docker.com/r/jrcs/letsencrypt-nginx-proxy-companion/ the the project has moved to a new registry and therefore that should be used instead.
4 years ago
Marcel Blöcher
c9143621ba
fix acme volume with letsencrypt-nginx-proxy-companion >= v2.0.0 ( #1358 )
...
Signed-off-by: Marcel Blöcher <mblo@users.noreply.github.com>
4 years ago
J0WI
1a432d98fa
Lock mariadb to 10.5 in examples ( fix #1536 ) ( #1539 )
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
5 years ago
fariszr
c769eb86e1
don't expose insecure ports to the public ( #1523 )
...
* don't expose insecure ports to public
* don't expose insecure ports to public
Signed-off-by: Fariszr <35614734+fariszr@users.noreply.github.com>
5 years ago
J0WI
a92ea90731
Update nginx.conf ( #1517 )
...
https://github.com/nextcloud/documentation/blob/master/admin_manual/installation/nginx-root.conf.sample
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
5 years ago
J0WI
def2eeae13
typo
5 years ago
J0WI
953ebac32b
Reduce examples ( #1484 )
5 years ago
Tim
87fa1a4c14
Changed the in #1380 forgotten config file ( #1409 )
...
Signed-off-by: BuildTools <tim.tannert@tu-dortmund.de>
5 years ago
warren-ru
16a3e7598f
Changing of nginx reverse proxy config ( #1380 )
...
* Update nginx.conf
* Update nginx.conf
* Update nginx.conf
5 years ago
Bill Mitchell
c0a3273cd4
minor typographical edits ( #1352 )
...
Signed-off-by: Bill Mitchell <bill@publicrelay.com>
5 years ago
J0WI
a45bc2a2ae
Replace libressl with openssl ( #1098 )
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
6 years ago
J0WI
6b6c68cabf
Serve mp4 and webm files directly in nginx ( #1076 )
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
6 years ago
Simon
ac8c998431
rename imagick extension package for buster compat ( #1008 )
...
Signed-off-by: Simon Hötten <simon@hoetten.org>
6 years ago
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>
6 years ago
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>
6 years ago
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>
6 years ago
J0WI
23b1488788
Add procps to smb examples ( closes #557 )
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
6 years ago
Marcel Klehr
7eb00b62aa
Add gmp php extension
...
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
6 years ago
Tilo Spannagel
4df6f79568
Allow nextcloud to create the postgres db ( #784 )
...
Signed-off-by: Tilo Spannagel <development@tilosp.de>
7 years ago
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>
7 years ago