0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-21 03:06:08 +02:00
nextcloud-docker/.examples/docker-compose/with-nginx-proxy/mariadb/fpm
Adam Monsen 4529b2e24a 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>
2022-12-09 10:28:23 -08:00
..
proxy Update Nginx-Proxy Docker repository (#1644) 2021-12-10 09:53:51 +00:00
web Prevent nginx HTTP Server Detection 2022-02-17 14:55:39 +01:00
db.env Add more examples with proxy 2017-09-27 13:29:15 +02:00
docker-compose.yml Enable MariaDB binary log 2022-12-09 10:28:23 -08:00