Commit Graph

116 Commits

Author SHA1 Message Date
Josh Richards aaeecafbe7
(README) Add note about Alpine based image compatibility
Alpine based images are not supported by OnlyOffice or Nextcloud Office.

Fixes #1041 + some mingled in reports elsewhere like:
- https://github.com/nextcloud/docker/issues/1896#issuecomment-1601117063

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-10-24 17:16:01 -04: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
johackim 94e751cd97
Add objectPrefix et autocreate environment variables (#1389)
Signed-off-by: johackim <contact@johackim.com>
2021-02-22 17:06:40 +00:00
Tilo Spannagel 8b9ca85ac5
Merge pull request #1383 from Schroedingers-Cat/clearer-migration
Clearer migration documentation
2021-02-20 20:31:25 +01:00
J0WI 061d860c0e
Implement essential php.ini configuration via ENV (#1379)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
Co-Authored-By: Alexander Sosna <alexander.sosna@credativ.de>
Co-Authored-By: =?UTF-8?q?Alexander=20Gr=C3=BC=C3=9Fung?= <alexander@gruessung-online.de>

Co-authored-by: Alexander Sosna <alexander.sosna@credativ.de>
Co-authored-by: =?UTF-8?q?Alexander=20Gr=C3=BC=C3=9Fung?= <alexander@gruessung-online.de>
2021-02-19 13:57:58 +00:00
Schroedingers-Cat 0d4148f9a4 Migration: Clearer distinction between docker cp and system's cp
Signed-off-by: Schroedingers-Cat <6382400+Schroedingers-Cat@users.noreply.github.com>
2021-01-24 17:50:27 +01:00
Schroedingers-Cat d7e6260688 Migration: Add info for copying data including its metadata
Signed-off-by: Schroedingers-Cat <6382400+Schroedingers-Cat@users.noreply.github.com>
2021-01-24 17:05:23 +01:00
Schroedingers-Cat 915e7584b0 Make hierarchy of ordered list clearer by proper indenting
Signed-off-by: Schroedingers-Cat <6382400+Schroedingers-Cat@users.noreply.github.com>
2021-01-24 17:05:23 +01:00
kitkittia b0920f4087
Add text on necessity of all database env-vars in README (#1361)
Signed-off-by: kitkittia <71378354+kitkittia@users.noreply.github.com>
2021-01-14 16:52:10 +00:00
Péter Bozsó f9699a1d1a
Fix paragraph about reverse proxy setup (#1349) 2021-01-14 16:50:25 +00:00
Bill Mitchell c0a3273cd4
minor typographical edits (#1352)
Signed-off-by: Bill Mitchell <bill@publicrelay.com>
2021-01-08 16:38:37 +00:00
J0WI b3f7d00d9b
Document Redis secret (#1337)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-12-21 00:21:11 +00:00
J0WI c4a2995631
Minor fixes and typos (#1336)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-12-20 23:47:20 +00:00
tetebueno 380c1645eb
Environment variables in docker-compose section (#1316)
* Environment variables in docker-compose section

Docker-compose file in the example was missing database configuration environment variables of the app container, making the stack to use SQLite by default instead of the DB container.

Didn't add `NEXTCLOUD_ADMIN_*` variables since this addresses the DB being configured with SQLite. This still works setting up admin credentials on first NC run.

Signed-off-by: tetebueno <9064236+tetebueno@users.noreply.github.com>

* Fixing FPM version too.

Signed-off-by: tetebueno <9064236+tetebueno@users.noreply.github.com>
2020-12-09 16:44:19 +00:00
J0WI 6fd2227a3d
Add GitHub CI badge (#1301)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-11-06 21:06:28 +00:00
Tobias Messner d1d4467e34
Fix typo in README (#1244)
Signed-off-by: Tobias Messner <tobias@zusor.io>
2020-09-25 14:59:32 +00:00
Adam Jenkins 84c775e440
Adds ability to configure swift object store though environment (#1243)
Signed-off-by: Adam Jenkins <adamjenkins1701@gmail.com>
2020-09-24 08:52:59 +02:00
Pierre Ozoux 27c54cdd9e
Adds ability to configure S3 object stores via environment variables (#1227)
* Adds ability to configure S3 object stores via environment variables

closes #1193 #1124 #1134

Co-authored-by: Adam Jenkins <adamjenkins1701@gmail.com>
Co-authored-by: Stephen Cuppett <scuppett@redhat.com>

* Update .config/s3.config.php

Co-authored-by: Adam Jenkins <adamjenkins1701@gmail.com>
Co-authored-by: Stephen Cuppett <scuppett@redhat.com>
2020-08-29 09:26:57 +02:00
pierreozoux 7a286da8c3 Revert "Adds ability to configure S3 object stores via environment variables"
This reverts commit 47032fddb6.
2020-08-28 17:48:40 +02:00
pierreozoux 47032fddb6 Adds ability to configure S3 object stores via environment variables
closes #1193 #1124 #1134

Co-authored-by: Adam Jenkins <adamjenkins1701@gmail.com>
Co-authored-by: Stephen Cuppett <scuppett@redhat.com>
2020-08-28 15:25:06 +02:00
J0WI 1e6d0620af Revert "Fix triggering install and update script (#1181)"
This reverts commit de90bed706.
2020-07-28 14:40:22 +02:00