Commit graph

14496 commits

Author SHA1 Message Date
Samuel Clay
c12b2493ed Finishing up db-mongo-analytics. Redis also now works. 2021-02-24 11:57:26 -05:00
Jonathan Math
8c736ac489 add performance test make commands, dockerfile for locust, and rough draft of performance test (locust.py) 2021-02-24 10:21:47 -05:00
Samuel Clay
2ee9f32e0a Adding beta subdomain. Adding /etc/hosts for compatibility with existing hosts. 2021-02-23 19:51:05 -05:00
Samuel Clay
e6d6667099 Adding consul tags for easy installation on services. 2021-02-23 19:30:28 -05:00
Samuel Clay
0c4464636f Rearranging ansible directory 2021-02-23 19:13:54 -05:00
Samuel Clay
8c64962999 Adding debug server. 2021-02-23 18:38:04 -05:00
Samuel Clay
bdd4857bae Deleting all ufw rules on every run so firewalls remain clean. Also reloading gunicorn. 2021-02-23 18:37:56 -05:00
Samuel Clay
1f7816f8ab Getting the old non-docker servers working in concert with the new ones. Now to give them all the shared firewall and install consul. 2021-02-23 15:53:46 -05:00
Samuel Clay
579f554208 Switching to dumb command for reloading haproxy. Needs a validate beforehand. 2021-02-23 14:42:16 -05:00
Samuel Clay
c083efdd11 Merge branch 'master' into dashboard3
* master:
  V10.2.1b3.
  #1198 Emailing stories
  Update dependencies
  #1199 Add recount before remote sync
  #1396 Navigation gestures vs swipe gestures
  #1401 Target SDK version 30
  #1399 Search for feeds
  Android v10.2.1b2.
  #1392 Collapsing toolbar sticky feed header
2021-02-23 14:41:06 -05:00
Samuel Clay
9566d931d7 Merge branch 'sictiru'
* sictiru:
  V10.2.1b3.
  #1198 Emailing stories
  Update dependencies
  #1199 Add recount before remote sync
  #1396 Navigation gestures vs swipe gestures
  #1401 Target SDK version 30
  #1399 Search for feeds
  Android v10.2.1b2.
  #1392 Collapsing toolbar sticky feed header
2021-02-23 14:40:55 -05:00
Samuel Clay
f476bcf74a V10.2.1b3. 2021-02-23 14:40:43 -05:00
Jonathan Math
bc66ad7659 handle empty list for drain_task_feeds 2021-02-23 10:08:40 -05:00
Samuel Clay
ba36cc71d9 Merge branch 'master' into sictiru
* master: (62 commits)
  Backing up postgres version
  Ignoring terraform on master.
  Preserving original debug for query debugging.
  Adding a test for compact folders.
  Adding a preference to notification title only.
  Adding in preference to only send full title in iOS notifications.
  Forgot primary state
  Adding replset oplog timing to db monitor.
  Ignoring ansible (will not ignore in dashboard3)
  Removing ssl from nginx, adding mongo.conf back in to all servers.
  Fixing OPML uploads.
  Upgrading to mongo 3.4.
  Use email if username doesnt work.
  Removing old types field. Needed to upgrade to mongo 3.4.
  Checking if a feed has any notifications on it, set a max of 30 min fetch (yes this is a pretty good way of getting your feeds to fetch faster, but youll have to deal with the notifications).
  Fix task fetch monitor.
  Attempting to see iOS premium status over email.
  Handling work queue missing error.
  Limiting work queue checks.
  Executable monitor work queue.
  ...
2021-02-22 10:58:07 -05:00
sictiru
dfa237e8fb #1198 Emailing stories 2021-02-21 17:29:24 -08:00
Jonathan Math
014d22f47e change docker-compose so that port 8000 is only exposed between containers. Also fix nginx volume so that it uses the correct nginx.conf file 2021-02-21 11:59:21 -05:00
Jonathan Math
f55121f4f3 fix ssh keys issue in makefile 2021-02-21 11:46:41 -05:00
sictiru
d20de367f1 Update dependencies 2021-02-20 18:38:36 -08:00
sictiru
9522102ec7 #1199 Add recount before remote sync 2021-02-20 16:47:51 -08:00
Samuel Clay
32eb8539c1 Attempting to get old inventory working with new, but its not yet resolving for hosts. Not sure why. Also reducing node docker image down. 2021-02-19 19:58:11 -05:00
Samuel Clay
a4e18295d7 make plan and make apply to run terraform. 2021-02-19 17:58:01 -05:00
Samuel Clay
c87d1c12bd Easiest way to both delete the default.conf and to insert our own is to call it default.conf. Hope that doesn't hurt things. Maybe this should be explicit. 2021-02-19 17:13:33 -05:00
Samuel Clay
7b9d7a0178 Exposing nginx ports. 2021-02-18 22:06:05 -05:00
Samuel Clay
cc76ab21db Splitting nginx into docker and consul due to hostname changes. 2021-02-18 22:00:54 -05:00
Samuel Clay
4ecbbd665f Firewall now includes every inventoried host. Should close off the now open ports. 2021-02-18 22:00:39 -05:00
Samuel Clay
d1e9f6764f Merge branch 'master' into dashboard3
* master:
  Backing up postgres version
2021-02-18 20:59:22 -05:00
Samuel Clay
8e224de2b9 Backing up postgres version 2021-02-18 20:57:56 -05:00
Samuel Clay
18a2415d4a Changing consul to use public IPs. This should probably be undone when the old site is disconnected and consul can go back to using private IPs for everything. 2021-02-18 20:53:23 -05:00
Samuel Clay
56cea73a9c Beginning to add consul to old servers. 2021-02-18 18:59:00 -05:00
Samuel Clay
d498cca9e1 Handling multiple servers of the same name. Adding node-images for imageproxy. 2021-02-18 18:03:36 -05:00
Samuel Clay
237ba1a632 Better handling of letsnecrypt certificate generation, uploading when fails to renew. 2021-02-18 16:22:30 -05:00
Samuel Clay
599d8402b0 Fixing haproxy provisioning. 2021-02-18 15:53:28 -05:00
Samuel Clay
b06db8f0ba Cleaning up provisoning. 2021-02-18 14:40:11 -05:00
Samuel Clay
b6e0d835bd Renaming consul-manager to db-consul. Handling multiples in terraform by naming them with the droplet index. 2021-02-18 13:51:06 -05:00
Samuel Clay
95552c9415 Attempting to fix haproxy but dns still isn't resolving between container and host. 2021-02-17 21:44:47 -05:00
Samuel Clay
06bdbf48e9 Splitting task into four task servers. Renaming elasticsearch to db-elasticsearch. Working on HAProxy. 2021-02-17 21:07:12 -05:00
Samuel Clay
83143cb993 Adding local to inventory. 2021-02-17 19:42:16 -05:00
Samuel Clay
45391d3c55 Fixing consul manager ip script. 2021-02-17 16:56:41 -05:00
Samuel Clay
af58642ad5 Splitting out dnsmasq 2021-02-17 16:48:07 -05:00
Jonathan Math
b21d691211 Update README.md 2021-02-17 11:19:01 -05:00
Jonathan Math
2d192607fd remove line copying haproxy.cfg from Dockerfile because it will be volumized instead 2021-02-17 09:31:18 -05:00
Jonathan Math
a36b7334ce add reload consul handler to consul role... to be imported in other roles 2021-02-17 09:30:03 -05:00
Jonathan Math
3d7d4133c3 fix makefile keys command 2021-02-17 09:29:16 -05:00
Jonathan Math
7ba6f79426 change celeryapp to use Celery('newsblur_web') 2021-02-17 09:28:53 -05:00
Jonathan Math
a9adf8b519 fix haproxy.cfg reference and MONGODB_PORT env variable in docker-compose 2021-02-17 08:32:23 -05:00
Jonathan Math
139d59fea4 Merge branch 'dashboard3' of https://github.com/samuelclay/NewsBlur into dashboard3 2021-02-17 08:28:46 -05:00
Jonathan Math
cddb81e75a update the README file 2021-02-17 08:28:39 -05:00
Samuel Clay
69dfd2e6d3 Terraform state now lives on S3. 2021-02-16 19:23:35 -05:00
Jonathan Math
dec910e425 become root user for creation of /etc/consul.d directory 2021-02-16 13:14:06 -05:00
Jonathan Math
ae240fd3b1 use ansible_hostname as service name for service registration of newsblur_web service so haproxy knows which server it should be routing to instead of any server named 'newsblur_web' 2021-02-16 13:13:29 -05:00