0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2024-09-30 16:32:36 +02:00
Commit graph

26 commits

Author SHA1 Message Date
Kaloyan Nikolov
3fb5f13b2e Update to correct MariaDB command
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
2024-09-19 00:52:45 +03:00
Kaloyan Nikolov
326ed47848 typo
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
2024-09-18 20:06:41 +00:00
Kaloyan Nikolov
cbcbeea070 Remove extra nginx volume
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
2024-09-18 20:06:41 +00:00
Kaloyan Nikolov
e87ce110f3 Restored MariaDB to 10.6 as per docs suggestions
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
2024-09-18 20:06:41 +00:00
Kaloyan Nikolov
d2edd7df49 Removed logging from compose files.
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
2024-09-18 20:06:41 +00:00
Kaloyan Nikolov
6dc29f2a72 Update examples section according to the latest docker compose requirements.
Signed-off-by: Kaloyan Nikolov <tzerber@gmail.com>
2024-09-18 20:06:41 +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
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
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>
2022-09-06 16:45:45 +00:00
Lejo
0201ea31f4
Revert volumes_from (#1677)
Signed-off-by: Lejo1 <Lejo_1@web.de>
2022-01-14 10:35:13 +00:00
Lejo
3619c0caac
Update Nginx-Proxy Docker repository (#1644)
Signed-off-by: Lejo1 <Lejo_1@web.de>
2021-12-10 09:53:51 +00:00
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>
2021-08-23 12:42:38 +00:00
J0WI
1a432d98fa
Lock mariadb to 10.5 in examples (fix #1536) (#1539)
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-07-18 22:00:36 +00:00
J0WI
953ebac32b
Reduce examples (#1484) 2021-04-26 17:15:37 +00: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
Tilo Spannagel
654ddeae23 Remove trailing whitespaces 2018-08-01 22:55:25 +02:00
rabaraho
d905503a6e Changed db build to pre-existing image with command arguments 2018-04-19 12:47:19 -04: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
b2e04519ed
Use custom Dockerfile instead of mounted config
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-03-21 14:39:09 +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
cropse
1eb3ca378a delete volume mount, It append the path of dockerfile build. 2017-11-15 22:50:58 +08:00
Jorge Villasenor
577ff54b45 Allow compose to find all env variables
With two declared "environment" compose only takes the second one. In
thi case it means that the letsencrypt companion and reverse-proxy can't
read the neede variables for the setup, making this example to return a
http 503 error.
2017-10-22 20:44:40 -07:00
Tilo Spannagel
122e66ca7c
Set client_max_body_size to 10G 2017-09-30 13:14:13 +02:00
Tilo Spannagel
0548adf1c1
Use autoconfig.php provided by the image 2017-09-27 13:29:15 +02:00
Tilo Spannagel
4fbd273cb0
Add more examples with proxy 2017-09-27 13:29:15 +02:00