Commit graph

68 commits

Author SHA1 Message Date
Samuel Clay
6286b798a7 Fixing JSON feeds. 2021-07-29 17:25:09 -04:00
Samuel Clay
c055656869 Adding DEBUG_QUERIES_SUMMARY_ONLY to assist db introspection without the verbosity. 2021-07-15 16:50:54 -04:00
Samuel Clay
ad61923c5e Typo in server_name 2021-07-09 17:29:24 -04:00
Samuel Clay
6d2c436835 Sentry requires a server_name param. 2021-07-09 17:21:56 -04:00
Samuel Clay
5886f1cc1b Another attempt at setting SERVER_NAME in sentry. 2021-07-09 17:11:55 -04:00
Samuel Clay
d9e2b0db30 Adding SERVER_NAME to sentry to get through docker. 2021-07-09 17:09:28 -04:00
Samuel Clay
b74fc79266 Load local_settings on top of docker-local_settings. 2021-07-06 10:37:36 -04:00
Samuel Clay
14e3d6dd25 Fixing broken requirements.txt, downgrading pymongo to 3.6, since monitoring was changed and we're not ready for it yet. 2021-07-02 12:42:02 -04:00
Jonathan Math
26ac902ef9 remove custom installed_apps from test settings 2021-06-29 08:38:36 -06:00
Jonathan Math
666015ee0e make test_settings.py use docker mongo 2021-06-29 08:38:17 -06:00
Samuel Clay
fc0b26437d Turning off elasticsearch logging. 2021-06-09 13:09:53 -04:00
Samuel Clay
1012779bf3 Logging elasticsearch, fixing autocomplete on feeds styling. Still need to fix feed search. 2021-06-09 12:52:22 -04:00
Samuel Clay
2481a0d1f7 Stubbing in commented out mobile assets. These haven't worked for years. 2021-05-17 11:03:59 -04:00
Samuel Clay
1ab551f73d Turning off spam deleter due to captcha. 2021-05-13 14:33:56 -04:00
Samuel Clay
aac3fba63d Cleaner logs. 2021-05-12 19:00:07 -04:00
Samuel Clay
428647f70c Lowering readability logs. 2021-05-12 18:54:04 -04:00
Samuel Clay
57d37aa833 Turning on docker DEBUG. 2021-04-29 15:21:40 -04:00
Samuel Clay
105f619e5a Cleaning up docker compose logs, fixing postgres health check, turning DEBUG to False on docker. 2021-04-28 12:46:07 -04:00
Samuel Clay
0235a907da Let's try reducing celery worker counts and seeing if that boosts work performed. 2021-04-20 19:24:50 -04:00
Samuel Clay
230716465e Adding new optional app/task env settings. 2021-04-20 18:02:12 -04:00
Jonathan Math
e068c9ff4e change nb.local.com to localhost 2021-04-20 08:04:08 -05:00
Samuel Clay
c00630ecf2 Typo 2021-04-11 15:24:24 -04:00
Samuel Clay
1af8183550 Adding celery integration to sentry. 2021-04-11 12:25:17 -04:00
Samuel Clay
70ba058aa4 Deployment of compressed static assets through S3. 2021-04-07 20:48:01 -04:00
Samuel Clay
b561ce756b Fixing issue with dashboard river folder not being changeable or selectable. 2021-04-07 15:32:17 -04:00
Samuel Clay
64ac914db4 Fixing #1435. imageproxy is now configured and loaded locally. The url is now /imageproxy and HAProxy knows to trim the url before sending it to the imageproxy service. 2021-04-01 17:01:05 -04:00
Jonathan Math
cdae1d5c2b Merge branch 'dashboard3' of https://github.com/samuelclay/NewsBlur into dashboard3 2021-03-26 13:28:09 -05:00
Jonathan Math
e76ece9a56 convert munin metrics to monitor/ endpoints 2021-03-26 13:28:03 -05:00
Samuel Clay
fc5751da60 Adding unicode decode error handling for mongo. Let's hope I don't regret this. Test with Metafilter feed: 1168 2021-03-26 10:43:34 -04:00
Samuel Clay
02138db5ca Switching from elasticsearch and dsl to pyelasticsearch. Feed autocomplete still doesn't work yet. 2021-03-24 21:09:26 -04:00
Samuel Clay
e1b2583950 Swapping out pyes for elasticsearch-py. Half-way done, got indices and mappings in, now need to work on querying and storing. 2021-03-18 16:34:28 -04:00
Samuel Clay
d52a8d362c Reducing number of workers on docker-compose. Also removing extraneous task servers and consolidating to task-celery for feeds and task-work for cron and work 2021-03-17 20:13:58 -04:00
Samuel Clay
15cfd7a592 Using the gunicorn config so workers can be toned down. 2021-03-17 17:16:49 -04:00
Jonathan Math
0d133cece5 add management command to check db connection. Include this command in entrypoint for newsblur_web container 2021-03-16 13:36:20 -05:00
Samuel Clay
992b603f94 entrypoint needs bash to run env commands 2021-03-15 12:19:50 -04:00
Samuel Clay
c113f79b38 Executable 2021-03-09 12:04:48 -05:00
Jonathan Math
519d4232fc add entrypoint.sh for newsblur_web and healthcheck for postgres 2021-03-09 12:02:02 -05:00
Jonathan Math
e2ec479913 add db_ to db container names 2021-03-08 14:14:15 -05:00
Samuel Clay
05afdce691 Fixing search indexing. Also removing superfluous search_indexer_tasker queue. 2021-03-03 17:04:05 -05:00
Jonathan Math
edf8f25414 typo 2021-03-01 21:38:18 -05:00
Jonathan Math
0cdc50e99e fix bug in settings that comes up in flask 2021-03-01 21:32:09 -05:00
Samuel Clay
ba6a8c81e0 Switching from raven to sentry sdk. 2021-02-25 19:52:36 -05:00
Samuel Clay
01248e5a1b Fixing task servers. Also fixing sentry max size limit. 2021-02-25 18:50:20 -05:00
Jonathan Math
7ba6f79426 change celeryapp to use Celery('newsblur_web') 2021-02-17 09:28:53 -05:00
Samuel Clay
d3449db1ec Merge branch 'docker_django3.1' into dashboard3
* docker_django3.1:
  add swarm_instructions.sh
  update celery task name to cron_queue in settings.py.orig
  change redis port to 6579 in docker local settings
  update celery task name to cron_queue in settings.py
  add image building and deployment functionality to Makefile
  update docker files to include code in the image so we can use with swarm (without configuring shared volumes yet)
  change beat_tasks to cron_queue in config/supervision_celeryd_beat.conf
  change pymysql version in __init__ to the new django compatible version
  change names for swarm service in swarm haproxy.conf file
  remove ssl from nginx
  fix dependency issues
  change nginx check time in haproxy
  add .dockerignore
  update newsblur dir to newsblur_web in code
  adjust resource limits on containers in stack-compose and correct monitor command
  clean up and fix stack-compose.yml file
  correct docker-compose images
2021-01-23 19:31:06 -05:00
Samuel Clay
7fab5951fb Incorrect celery app import. 2021-01-19 18:01:17 -05:00
Samuel Clay
c3732d6d1c Fixing celery issues. 2021-01-19 18:00:10 -05:00
Jonathan Math
ba56324e34 update celery task name to cron_queue in settings.py.orig 2021-01-19 09:56:55 -05:00
Jonathan Math
d579efea6a change redis port to 6579 in docker local settings 2021-01-19 09:55:49 -05:00
Jonathan Math
2ac910a305 update celery task name to cron_queue in settings.py 2021-01-19 09:55:07 -05:00