ente/infra
Manav Rathi e2c894f87f
[infra] Limit the maximum size of the nginx stdout logs
nginx logs to stdout, which is captured by docker and put into a file at
/var/lib/docker/containers/<nginx-cont-id>/<id>-json.log

By default, the size of this file is unbounded. Add a maximum limit of 1 GB to this.

References:
- https://docs.docker.com/config/containers/logging/local/
- https://stackoverflow.com/questions/31829587/docker-container-logs-taking-all-my-disk-space
2024-04-10 09:23:48 +05:30
..
copycat-db npx prettier --config ../docs/.prettierrc.json --write '**/*.md' 2024-03-14 22:33:00 +05:30
services [infra] Limit the maximum size of the nginx stdout logs 2024-04-10 09:23:48 +05:30
workers [meta] Add a special case for comments in the notifier workaround 2024-03-28 10:11:04 +05:30
.gitignore Create infra directory 2024-03-14 17:14:47 +05:30
README.md Create infra directory 2024-03-14 17:14:47 +05:30

Infra

Various knick-knacks that we use when hosting our servers.

These are not needed for running Ente's server or for self-hosting, these are just additional services we run to make our infrastructure more robust. As such, it's unlikely that you'll find the pieces here directly useful for your needs, but feel free to have a look around if you're curious!