0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-03-15 02:45:09 +01:00
Commit graph

1191 commits

Author SHA1 Message Date
Raphaël Mélotte
70358187fd docker-entrypoint.sh: exit if DB host not set
Since all DB variables but the host can be set using secrets (by
appending '_FILE' to the variable name), it can be easy for a user to
mis-configure their DB host variable by storing them in
MYSQL_HOST_FILE or POSTGRESQL_HOST_FILE (which is not supported).
When that happens, the auto configuration is skipped.
Such a situation is a bit cumbersome to figure out as nothing
indicates why the auto configuration is skipped.
To make to make it obvious to the user, exit early if DB variables
have been set (using secrets or not), but the host has not been
set (for example, because it was set in MYSQL_HOST_FILE).

Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
2023-09-26 13:32:04 +02: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
GitHub Workflow
fef9785e23 Runs update.sh 2023-09-24 00:28:00 +00:00
J0WI
766fd4e078
Bump to 27.1.1
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-09-21 20:26:48 +00:00
GitHub Workflow
b008ff8bb7 Runs update.sh 2023-09-21 20:24:53 +00:00
J0WI
1ed450b540
Bump to 27.1.0
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-09-16 22:53:12 +00:00
GitHub Workflow
3fa92257f9 Runs update.sh 2023-09-16 22:51:59 +00: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
GitHub Workflow
4cd70385b8 Runs update.sh 2023-09-16 00:27:19 +00:00
J0WI
03a967db4e
Bump to 26.0.5 (fix #2061)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-09-14 22:24:34 +00:00
GitHub Workflow
467a98dcc9 Runs update.sh 2023-09-14 21:56:13 +00:00
GitHub Workflow
12390fb508 Runs update.sh 2023-09-10 00:29:29 +00:00
GitHub Workflow
f9ae675c1a Runs update.sh 2023-08-20 21:19:25 +00:00
Mossroy
04e4138db5
Replace RemoteIPTrustedProxy by RemoteIPInternalProxy in remoteip.conf (#2004)
Else the internal IP ranges are ignored
See https://httpd.apache.org/docs/2.4/en/mod/mod_remoteip.html#remoteiptrustedproxy and https://httpd.apache.org/docs/2.4/en/mod/mod_remoteip.html#remoteipinternalproxy

Signed-off-by: Mossroy <mossroy@mossroy.fr>
2023-08-20 21:19:13 +00:00
J0WI
c4966442a6
Bump to 26.0.5 (#2050)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-08-10 23:40:32 +00:00
David Li
625dd013fa
Apply changes from #2033 to the examples. (#2046)
Signed-off-by: David Li <david@davidl.me>
2023-08-10 23:10:13 +00:00
GitHub Workflow
09fecda406 Runs update.sh 2023-08-10 22:36:51 +00:00
J0WI
7bd3b7b6db
Stable 26.0.4
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-07-24 19:38:15 +00:00
GitHub Workflow
f0f6fc1f03 Runs update.sh 2023-07-24 19:36:18 +00:00
J0WI
d3b3eeba85
Debian Bookworm (#2033)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-07-24 19:36:02 +00:00
GitHub Workflow
1b913eb0e9 Runs update.sh 2023-07-20 11:47:38 +00:00
GitHub Workflow
38b8110c58 Runs update.sh 2023-07-09 20:20:25 +00:00
Antonin Delpeuch
a68c6ef348
Block upgrade if it is not supported because major versions are too different (#2018)
* Block upgrade if it is not supported

Closes #1809. This prevents the install from getting in a state where none
of the Docker images will accept running given the contents of the volumes.

Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>

* Update docker-entrypoint.sh

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>

* Update docker-entrypoint.sh

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>

* Remove extra function

Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>

* Update docker-entrypoint.sh

Co-authored-by: J0WI <J0WI@users.noreply.github.com>
Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>

---------

Signed-off-by: Antonin Delpeuch <antonin@delpeuch.eu>
Co-authored-by: J0WI <J0WI@users.noreply.github.com>
2023-07-09 20:20:10 +00:00
J0WI
74d33d0020
Stable 26.0.3 (fix #2016)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-06-22 16:10:00 +00:00
GitHub Workflow
040d8687a6 Runs update.sh 2023-06-22 16:06:52 +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
GitHub Workflow
ceb2893af1 Runs update.sh 2023-06-13 15:13:35 +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
J0WI
22d28e45cd
Alpine 3.18 & PHP 8.2 (#1989)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-05-31 15:17:36 +00:00
J0WI
fb5866ada9
Use no-network option (#2000)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-05-31 15:16:04 +00:00
GitHub Workflow
d24ce74201 Runs update.sh 2023-05-31 13:11:48 +00:00
J0WI
4298972d2e
Restore PHP 8.1 for Nextcloud 25 (#1998)
https://github.com/docker-library/php/pull/1412

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-05-31 13:06:10 +00:00
Daniel Rudolf
570ac60ed2
Add versions.json (#1995)
* Add %%DEBIAN_VERSION%% placeholder

Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>

* Replace %%BASE_DOWNLOAD_URL%% placeholder by %%DOWNLOAD_URL{_ASC}%%

Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>

* Add version.json

'versions.json' contains information about the latest branches and variants. It is managed by `./update.sh`, there's no need to edit this file manually, just run `./update.sh`.

Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>

* Run update.sh

Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>

---------

Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2023-05-31 12:13:56 +00:00
Nextcloud Command Bot
f2c8cb599e
chore: update workflows from templates (#1993)
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Co-authored-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-28 10:15:55 +00:00
J0WI
646bef90e2
25.0.7 (#1987)
https://github.com/nextcloud-releases/updater_server/pull/869/commits

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-05-26 01:04:35 +00:00
J0WI
136a20de32
Downgrade Nextcloud 25 to PHP 8.0 due OpenSSL 1.1/Alpine 3.16 (#1990)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-05-26 01:00:58 +00:00
J0WI
8394b4967c
EOL 24 (#1988)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-05-25 23:03:53 +00:00
GitHub Workflow
9b84086ab9 Runs update.sh 2023-05-25 22:23:21 +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
2d8f990304
Stable 25.0.6
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-04-20 14:57:03 +00:00
GitHub Workflow
620d4d68f4 Runs update.sh 2023-04-20 13:11:17 +00:00
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>
2023-04-02 16:33:05 +00:00
J0WI
ee394835b7
Stable 25.0.5 (#1961) 2023-04-02 15:39:27 +00:00
J0WI
3eb80c52b1
Support SELinux in docker-compose.yml examples (fix #324) (#1957)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-03-28 16:05:53 +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
GitHub Workflow
cf30668784 Runs update.sh 2023-03-28 13:51:27 +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
GitHub Workflow
1ca0f40af4 Runs update.sh 2023-03-24 00:27:35 +00:00
GitHub Workflow
289f0bb8a3 Runs update.sh 2023-03-21 22:44:45 +00:00
J0WI
165698da7b
Alpine 3.17 (#1953)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2023-03-21 22:44:22 +00:00