Commit Graph

28 Commits

Author SHA1 Message Date
Manav Rathi
234618e8ae Fix accidentally uncommitted change 2024-07-18 10:55:29 +05:30
Manav Rathi
1115f93086 Add update instructions 2024-07-18 10:09:37 +05:30
Manav Rathi
6d04ed1f8f [infra] Import metabase conf 2024-07-18 09:57:50 +05:30
Manav Rathi
26c1dda600 [infra] Change prometheus scrape interval to 60s (the default) 2024-07-01 11:42:11 +05:30
Manav Rathi
e6a47b29bb [infra] Import Sentry configuration into monorepo 2024-06-19 10:54:04 +05:30
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
Manav Rathi
5266e5d1dc [infra] Fix the listmonk upgrade invocation 2024-04-05 16:51:08 +05:30
Manav Rathi
e170b6811d Tweaks
Refs:
https://github.com/knadh/listmonk/blob/master/listmonk-simple.service#L16
2024-04-04 21:27:47 +05:30
Manav Rathi
3ed2186dcf Initial cut of listmonk setup 2024-04-04 20:23:25 +05:30
Manav Rathi
407eca5414 [server] nginx configuration improvements
- Use keepalives
- Update deprecated http2 syntax
- Document how to check config

Refs:
- https://www.nginx.com/blog/avoiding-top-10-nginx-configuration-mistakes/#no-keepalives
- https://github.com/nginxinc/kubernetes-ingress/issues/4237
- https://stackoverflow.com/questions/65944578/how-to-get-nginx-running-in-docker-to-reload-nginx-conf-configuration
2024-04-04 12:36:39 +05:30
Manav Rathi
e25089a55c [infra] Mention that logging to stdout is a good default for services 2024-03-20 11:28:40 +05:30
Manav Rathi
303b12c709 Fix the dependency on nginx 2024-03-19 09:31:51 +05:30
Manav Rathi
f6e575885d Note the dashboard URL 2024-03-19 05:41:16 +05:30
Manav Rathi
9fe8d1fd53 Add recommended headers 2024-03-18 21:57:25 +05:30
Manav Rathi
19724367df Support nginx configuration reloads 2024-03-18 21:47:53 +05:30
Manav Rathi
ba896f2f3a Match file name convention 2024-03-18 21:36:01 +05:30
Manav Rathi
64c95d2397 Tweak formatting 2024-03-18 21:34:24 +05:30
Manav Rathi
2486a94d21 Add the service the serves status.ente.io 2024-03-18 21:22:15 +05:30
Manav Rathi
c177efe79c Add documentation comments 2024-03-18 15:44:00 +05:30
Manav Rathi
c43a0a7182 Shorten 2024-03-18 13:31:10 +05:30
Manav Rathi
2f38f23b77 Update install instructions 2024-03-18 13:30:07 +05:30
Manav Rathi
9ba9b8a984 Add initial nginx conf 2024-03-18 10:39:39 +05:30
Manav Rathi
9beedcf4e0 Move into separate folder 2024-03-18 10:16:55 +05:30
Manav Rathi
022c11d7fa Import the base nginx service definition we use 2024-03-18 03:50:21 +05:30
Manav Rathi
5841aefb75 [infra] Remind about needing to also enable node-exporter 2024-03-15 13:06:07 +05:30
Manav Rathi
12bdbcfbdc npx prettier --config ../docs/.prettierrc.json --write '**/*.md' 2024-03-14 22:33:00 +05:30
Manav Rathi
dc29ab496f Add prometheus and promtail definitions 2024-03-14 21:56:36 +05:30
Manav Rathi
477e3fee80 Define services 2024-03-14 21:18:38 +05:30