Commit Graph

202 Commits

Author SHA1 Message Date
Manav Rathi
69e69c2e0f Formatting and other minor tweaks 2024-06-15 09:54:28 +05:30
atyabbin
93bddbe6f1 Merge branch 'main' into dashboard-improvement 2024-06-10 19:41:29 +05:30
atyabbin
17e48ed83f Added new components 2024-06-10 19:29:28 +05:30
atyabbin
4c7583240f Sidebar added 2024-06-10 19:24:32 +05:30
Manav Rathi
ec67437273 [staff] Fix lint 2024-06-10 17:20:02 +05:30
Manav Rathi
f5a90abbaf [staff] Remove .env.local and rename the env var to match main photos apps 2024-06-10 14:12:23 +05:30
atyabbin
6f1c52d548 Removed the code to retrieve the host from local storage 2024-06-06 15:42:29 +05:30
atyabbin
57629f26c0 Using ENV variables to pass the host 2024-06-06 15:17:00 +05:30
atyabbin
674907cd2a Added the required lint formatting and email input field 2024-06-05 14:18:19 +05:30
atyabbin
0c29e408f9 dashboard 2024-06-05 01:17:41 +05:30
Manav Rathi
ac32a33358 lf 2024-06-03 15:06:23 +05:30
Manav Rathi
6b6a81b6a8 Need yarn.lock for caching 2024-06-03 15:05:58 +05:30
Manav Rathi
16272dc7b0 README 2024-06-03 15:05:58 +05:30
Manav Rathi
9a47135209 gi yarn.lock 2024-06-03 15:05:58 +05:30
Manav Rathi
c91b0e4d3e lint 2024-06-03 15:05:58 +05:30
Manav Rathi
ff29bda5ac gitig 2024-06-03 15:05:58 +05:30
Manav Rathi
78b82e774d tsconfig 2024-06-03 15:05:58 +05:30
Manav Rathi
2d8b16ca99 Move files 2024-06-03 15:05:54 +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
12aa071adc [meta] Add a special case for comments in the notifier workaround
Discord still hasn't fixed the issue on their end, and having a top level link
whenever a new comment is added is getting cumbersome, so add a handler for the
common comments case too.

Tested and deployed.
2024-03-28 10:11:04 +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
35ba5b6685 [workers] Fallback to plain text Discord message as a 429 workaround 2024-03-20 09:56:14 +05:30
Manav Rathi
7c383023e4 [workers] Add the cast-albums worker 2024-03-19 15:33:09 +05:30
Manav Rathi
ed547d5f2c Add empty vars section 2024-03-19 13:55:31 +05:30
Manav Rathi
1e50570936 wrangler publish is deprecated 2024-03-19 13:51:13 +05:30
Manav Rathi
2419b079af Add the github-discord-notifier code 2024-03-19 13:50:39 +05:30
Manav Rathi
cfd298a052 [workers] Start migrating workers to the monorepo 2024-03-19 13:14:25 +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
Manav Rathi
7ddfeb93dd Fix up the workflow 2024-03-14 17:32:54 +05:30
Manav Rathi
aaffc740bc Update paths 2024-03-14 17:29:11 +05:30