Commit graph

19 commits

Author SHA1 Message Date
c3aea8f176
Use nvm to install Node rather than deprecated nodesource scripts 2023-10-27 17:37:58 +01:00
530503d769
Add in-memory cache around linguist data
Mostly useful for local development, but should help a little in production too
2023-07-15 17:47:21 +01:00
f055517cc1
Update to Wagtail 4.1 2023-04-16 15:04:51 +01:00
32a06e4b42
Unset some extra headers
Avoids some gunicorn errors
2023-02-22 09:32:18 +00:00
92ecbb2c48
Route nginx to django app 2023-02-22 09:15:44 +00:00
4326dc2299
Add helper entrypoint scripts
This keeps the configuration for what to run inside the container, without adding the extra weight and config of s6
2023-02-22 08:53:42 +00:00
7d20ccd8d7
Restart gunicorn processes more often 2023-02-21 21:46:26 +00:00
d8a8e7fd8e
Use nginx to serve static files
This should keep easy requests out the app event loop, hopefully improving response time
2023-02-21 21:46:26 +00:00
378c0f9f44
Allow all IPs to send forwarded headers 2023-02-06 20:03:56 +00:00
79f532b5c0
Do a lookup to find reverse proxy
`forwarded_allow_ips` doesn't support CIDR
2022-10-30 14:26:06 +00:00
1023c821ab
Allow gunicorn to use X-Forwarded-* header 2022-10-30 12:14:16 +00:00
cd48ae7810
Revert "Replace spotify data cache with new cached properties"
This reverts commit a3d9fa177e.
2022-10-02 16:17:49 +01:00
a3d9fa177e
Replace spotify data cache with new cached properties
Also replace the update script with one which will do everything
2022-09-30 09:07:31 +01:00
fb453a3277
Run an additional thread so the GIL isn't sitting completely idle 2022-09-06 08:36:55 +01:00
79d6c1e951
Update spotify playlists in cron 2022-09-04 16:57:57 +01:00
da89510eee
Restart workers after a given number of requests 2022-08-30 21:39:11 +01:00
ad894a30a1
Correctly override gunicorn server header 2022-08-30 08:48:16 +01:00
10b32da3e0
Add crontab to project
Cron will likely be a duplicate compose service with a different
command.
2022-08-20 20:48:27 +01:00
9a15fcbe60
Move gunicorn conf to etc directory 2022-07-29 08:29:50 +01:00