0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-20 02:46:10 +02:00
Commit graph

135 commits

Author SHA1 Message Date
rmelotte
1aa60a3ec3
Merge 70358187fd into dd663d60c6 2024-11-21 02:49:27 +00:00
rugk
dd663d60c6
Add example command for copying (#2327)
As for https://github.com/nextcloud/docker/issues/2266 and the re-appearing message IMHO, it is quite convenient to have a command to copy here if you just have not changed any config files…

Signed-off-by: rugk <rugk+git@posteo.de>
2024-11-07 23:38:16 +00:00
Josh
090934d9b0
feat(readme): Viewing merged config via occ config:list system
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-10-22 09:15:05 -04:00
Dominic Giebert
a9f9885e65
Add FORWARDED_FOR_HEADERS to the reverse-proxy config (#2272)
* Add FORWARDED_FOR_HEADERS to the reverse-proxy config

Signed-off-by: Dominic Giebert <dominic.giebert@suse.com>

* Add FORWARDED_FOR_HEADERS to documentation

Signed-off-by: Dominic Giebert <dominic.giebert@suse.com>

---------

Signed-off-by: Dominic Giebert <dominic.giebert@suse.com>
2024-10-08 16:19:59 +02:00
J0WI
5a242f6055
MariaDB 10.11 (#2298)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-10-08 15:33:18 +02:00
Alexandra Branco
c83d457857
Added information about permissions errors (migrating to alpine) (#2289)
* Added information about permissions errors when migrating docker images to alpine.

* Updated README.md documentation after review.
2024-10-07 19:27:24 +02:00
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>
2024-10-07 19:27:05 +02:00
Florian Latifi
5c58b2aa09
Warn on mismatching auto-config files (#2120)
Signed-off-by: Florian Latifi <mail@florian-latifi.at>
Co-authored-by: Josh <josh.t.richards@gmail.com>
2024-06-25 21:25:29 +00:00
Josh
f454867803
docs(README): SMTP/MAIL values always override web UI (#2243)
Fixes #1312

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-06-18 20:21:30 +00:00
Josh
ba9a6c2d93
fix(README): Point help seekers to forum first
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-05-06 11:57:08 -04:00
J0WI
f23d5d3ab4
Typo
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-04-02 21:27:11 +00:00
Simon L
be444a05a2 Update Readme.md
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-02-05 14:32:42 +01:00
Patrick Hobusch
2e9139bac8
Allow setting AWS S3 SSE-C key (#2151)
The AWS S3 SSE-C key for server side encryption can now be set using
the environment variable `OBJECTSTORE_S3_SSE_C_KEY`.

Signed-off-by: Patrick Hobusch <patrick@hobusch.net>
2024-01-26 00:24:41 +00:00
Patrick Hobusch
5dfa556afc
Allow setting AWS S3 storage class (#2138)
The AWS S3 storage class can now be set using the environment variable
`OBJECTSTORE_S3_STORAGE_CLASS`.

The order of the AWS S3 environment variables in the `README.md` has
also been adjusted to be more "logical".

Signed-off-by: Patrick Hobusch <patrick@hobusch.net>
2024-01-16 00:04:05 +00:00
Raphael Nestler
f14ad96e2d
Mention minimal SMTP configuration in README.md (#2144)
Looking at d1dbc77e0b/.config/smtp.config.php
it is clear that `SMTP_HOST`, `MAIL_FROM_ADDRESS` and `MAIL_DOMAIN` must be set.

Signed-off-by: Raphael Nestler <raphael.nestler@gmail.com>
2024-01-14 01:12:38 +00:00
Josh
ea64bed4f9
Merge pull request #2133 from nextcloud/enh/readme/persist-volumes-custom-upgrade-exclude
enh(README) Persistent volume upgrade.exclude clarification
2024-01-12 15:14:52 -05:00
Josh
accf5bf119
Update README.md
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-01-12 15:12:03 -05:00
J0WI
bbc81a94b7
Update logo in README.md
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-01-09 23:12:44 +00:00
Josh Richards
fd6f811978
enh(README) Persistent volume upgrade.exclude clarification
- Make the warning more prominent
- Clarify the language
- Clarity trade-offs

Fixes: #2132  

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-12-28 10:08:35 -05:00
Raphaël Mélotte
f4429bb0ff README.md: clarify that _HOST variables cannot be files
The auto configuration sections seems to imply that POSTGRES_HOST and
MYSQL_HOST can be file variables, while this is not supported. If all
variables are set as files including the host, the installation will
not be done automatically.
This can be hard to figure out, as during the first start of the
container nothing indicates why the auto configuration is not done.

To try to make it a bit clearer in the README, explicitly mention that
using a file for the hosts variable is not supported.

Furthermore, in the docker secrets section it's currently easy to
misread the fact that the last variable mentioned (the host) is not
using '_FILE'. Since it's anyway not part of the group of variables
that support secrets, remove it from the list to avoid confusion.

Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
2023-09-26 13:32:01 +02:00
adripo
90064ed260
Set Apache LimitRequestBody with env variable APACHE_BODY_LIMIT (#2065)
* feat: set apache LimitRequestBody

Signed-off-by: adripo <26493496+adripo@users.noreply.github.com>

* feat: APACHE_BODY_LIMIT variable

Signed-off-by: adripo <26493496+adripo@users.noreply.github.com>

* fix: move ENV to existing VARIANT_EXTRAS

Signed-off-by: adripo <26493496+adripo@users.noreply.github.com>

* docs: updated var description

Signed-off-by: adripo <26493496+adripo@users.noreply.github.com>

* fix: remove comment

Signed-off-by: adripo <26493496+adripo@users.noreply.github.com>

---------

Signed-off-by: adripo <26493496+adripo@users.noreply.github.com>
2023-09-16 22:51:45 +00:00
Dennis Værum
d3251467e6
Added entrypoint hooks for your own custom scripts (#1964)
* Added entrypoint hooks for your own custom scripts

Signed-off-by: Dennis Vestergaard Værum <github@varum.dk>

* Small changes:
- Only execute shell-scripts (mening files ending with .sh)
- Sort the files before executing them, had forgotten 😅
- Added a message when a hook script finish
- Added prefix arror to message to show the are related

Signed-off-by: Dennis Vestergaard Værum <github@varum.dk>

* Show in the search msg that it only searches for '*.sh' files

Signed-off-by: Dennis Vestergaard Værum <github@varum.dk>

* Fixed spelling mistake

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Dennis Værum <6872940+dvaerum@users.noreply.github.com>

* Updated the `README.md` file

Signed-off-by: Dennis Vestergaard Værum <github@varum.dk>

* change from using find to using a for-loop to located the `.sh` files

Signed-off-by: Dennis Vestergaard Værum <github@varum.dk>

* Fix bug - that would make docker-entrypoint.sh failed, hook folders was empty

Signed-off-by: Dennis Vestergaard Værum <github@varum.dk>

---------

Signed-off-by: Dennis Vestergaard Værum <github@varum.dk>
Signed-off-by: Dennis Værum <6872940+dvaerum@users.noreply.github.com>
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
2023-06-22 16:06:37 +00:00
Simon L
35e99028fb
adjust readme again to be a bit more verbose about what AIO is (#2006)
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-09 12:07:41 +00:00
kn0wmad
5d6b615a8e
Update README.md (#1983)
Signed-off-by: kn0wmad <39687477+kn0wmad@users.noreply.github.com>
2023-05-25 22:23:01 +00:00
J0WI
30bb621341
Update MariaDB to 10.6 (#1956)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-03-28 15:35:15 +00:00
Anderson Entwistle
e1b1923861
feat: support object store credentials from file (#1946)
Signed-off-by: Anderson Entwistle <46688047+aentwist@users.noreply.github.com>
2023-03-28 13:50:55 +00:00
Ben Siddans
31c59aea24
Add words to README to draw attention to the use of upgrades.exclude, potential for files to be removed during installation/upgrades. (#1862) 2023-03-04 19:16:46 +00:00
okrc
bcb0642e00
Fixed broken link (#1931)
Signed-off-by: okrc <okrc@hexo.dev>
2023-03-04 19:13:45 +00:00
Daniel
4abe7df9d5
docs(smtp): clearify on mail_from_address (#1929)
mail_from_address will overwrite the local-part for the from address.

Signed-off-by: Daniel <mail@danielkesselberg.de>
2023-03-04 18:46:17 +00:00
John Molakvoæ
aac4d09c74
Merge pull request #1905 from remram44/lock 2023-03-01 11:06:29 +01:00
Simon L
c13521ce12
README: update to reflect support of these images vs enterprise and AIO (#1916)
* README: update to reflect support of these images vs enterprise and AIO

Signed-off-by: Simon L <szaimen@e.mail.de>

* address review by J0WI

Signed-off-by: Simon L <szaimen@e.mail.de>

---------

Signed-off-by: Simon L <szaimen@e.mail.de>
2023-02-19 18:33:07 +00:00
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>
2023-02-17 14:13:12 +00:00
Remi Rampin
8aabc4b3ea Remove NEXTCLOUD_INIT_LOCK
Signed-off-by: Remi Rampin <remi@rampin.org>
2023-02-08 14:05:00 -05:00
J0WI
f69a48834e
Fix mysql import in nextcloud readme
https://github.com/docker-library/docs/pull/2210

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-10-05 20:15:07 +00:00
John Molakvoæ
209d65d0b6
Add NEXTCLOUD_INIT_HTACCESS to run occ maintenance:update:htaccess after init (#1761)
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-06-30 12:59:15 +00:00
John Molakvoæ
83d5e72596
Add NEXTCLOUD_INIT_LOCK to enable shared html volume update
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-06-01 08:18:10 +02:00
J0WI
f511ef284b Minor typos
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2022-04-25 21:12:07 +02:00
koderik
365c4f8400
fixed spacing error (#1664)
Signed-off-by: koderik <erik.sandlov@gmail.com>

Co-authored-by: koderik <erik.sandlov@gmail.com>
2022-01-14 13:18:16 +00:00
Brian Lee
1b80124463
Add link to nginx configuration instructions (#1663) 2022-01-14 10:36:17 +00:00
Charlie Macfarlane Brodie
44a55665a3
Changed 'to' to 'in' (#1649)
Updated the wording of the comments for one of the docker-compose examples to more correct english usage.

Signed-off-by: Charlie MacFarlane Brodie <mail@charliebrodie.com>
2021-12-10 09:54:05 +00:00
Simon Tushev
2857b4b3f1
Added fetching autoconfig data from Docker secrets (#1516)
* Added fetching autoconfig data from Docker secrets

Signed-off-by: Simon Tushev <tushev@users.noreply.github.com>

* Docker secrets now have priority over ENV variables; improved README.md

Signed-off-by: Simon Tushev <tushev@users.noreply.github.com>
2021-11-29 22:30:57 +00:00
Klaus Frank
6e54048644
Add OVERWRITECLIURL env var (#1622)
Signed-off-by: Klaus Frank <git@frank.fyi>
2021-11-25 13:03:48 +00:00
András Maróy
5d01cebeab
Implement docker secret handling for SMTP_PASSWORD (#1471)
* Implement docker secret handling for SMTP_PASSWORD

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Use `trim` instead of `rtrim` for `SMTP_PASSWORD_FILE` contents

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Signed-off-by: András Maróy <andras@maroy.hu>

* Runs update.sh

Co-authored-by: GitHub Workflow <workflow@github.com>
2021-07-30 12:23:35 +00:00
Patrizio Bekerle
c91097a08e Lock mariadb to 10.5 (#1536) 2021-07-13 21:54:18 +02:00
Patrizio Bekerle
d7f1fa7b0d Revert "Lock mariadb to 10.5"
This reverts commit 94a24c2385.
2021-07-13 21:51:14 +02:00
Patrizio Bekerle
94a24c2385
Lock mariadb to 10.5 2021-07-13 21:38:33 +02:00
Fabian Eisinger
6b4745de27
Fix typo (#1468)
The environment variable for MYSQL_DATABASE was named MYSQL_DB in chapter "Docker Secrets".

The typo probably happened because of inconsistent naming of MYSQL_DATABSE vs POSTGRES_DB.
2021-04-06 14:12:07 +00:00
Philipp
a15c755399
Add "legacy_auth" option for S3 object stores (#1444)
* Add "legacy_auth" option for S3 object stores

Signed-off-by: Philipp <admin@philipp.info>

* Update .config/s3.config.php

Co-authored-by: J0WI <J0WI@users.noreply.github.com>

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
2021-03-27 01:01:00 +00:00
Guillot Julien
314dfb4cda
Fixed incorrect environment variable (#1446)
Replaced incorrect environment variable name `OBJECTSTORE_SWIFT_SERVICE_REGION` by `OBJECTSTORE_SWIFT_REGION`.
As visible in f1ca6dbfab/19.0/fpm/config/swift.config.php (L25), configu read `OBJECTSTORE_SWIFT_REGION` instead of `OBJECTSTORE_SWIFT_SERVICE_REGION`.
2021-03-24 22:49:29 +00:00
Bloody Altair
a10ff74b68
Fixed invalid PHP_INI_MEMORY_LIMIT variable name (#1415) 2021-02-22 17:12:50 +00:00