Commit graph

74 commits

Author SHA1 Message Date
Samuel Clay
8de2bfcbae Fixing names for state timeline, also fixing node server bootstrap. 2022-01-04 14:44:47 -05:00
Samuel Clay
e5e3162f89 Moving from hosted Sentry to self-hosted sentry. 2022-01-03 14:48:39 -05:00
Samuel Clay
9ba3aa1434 Ciphers on staging 2021-12-07 21:30:52 -05:00
Samuel Clay
966f0998fc Removing unused traces of older redis servers. 2021-12-06 13:56:09 -05:00
Samuel Clay
1fdebf5c76 Removing haproxy=1 from health checks. Haproxy tests the full mongo db, so it's the default case, no need for exceptional query string like consul. 2021-10-19 11:11:11 -04:00
Jonathan Math
6f324d608b fix postgres haproxy issue 2021-10-18 11:51:48 -05:00
Jonathan Math
dd13af5bf1 add querystring logic to mongo db health check to accommodate consul vs haproxy checking 2021-10-11 11:11:42 -05:00
Samuel Clay
4a81611b01 Mongo analytics is its own server, with authentication. 2021-08-03 19:43:27 -04:00
Samuel Clay
1b2fc53f37 Adding imageproxy2 before switching image proxies. 2021-07-12 11:46:22 -04:00
Samuel Clay
4c5a5907c5 Adding redirects for dashboard refreshes. Also attempting to cache global river for dashboard. 2021-07-02 09:15:22 -04:00
Samuel Clay
9ad1fb4739 Use refresh servers if auto-loading dashboard. 2021-07-02 08:43:16 -04:00
Samuel Clay
159251f3c0 Switch to blog.newsblur.com. 2021-06-28 18:50:30 -04:00
Samuel Clay
7d8ba31ee1 Adding blog role and server. 2021-06-22 12:50:08 -04:00
Jonathan Math
76d9751af5 fix haproxy config 2021-06-15 09:44:37 -06:00
Jonathan Math
0b159b19cd add consul manager service 2021-06-15 09:43:44 -06:00
Jonathan Math
1be51700ed grafana service not node in haproxy 2021-06-15 09:36:04 -06:00
Jonathan Math
b9ed7dc7ed fix haproxy file 2021-06-15 08:50:17 -06:00
Jonathan Math
c77d49178b consul and db_metrics backend to haproxy.consul.cfg.j2 2021-06-14 20:32:19 -06:00
Samuel Clay
d0f03779b3 Fixing sharing story issue with scrubbing encoding. 2021-05-14 20:52:28 -04:00
Samuel Clay
6a559e0f3f HAProxy now does a graceful reload. Cleaning up ansible. Splitting out firewall into ufw role. 2021-05-14 18:40:43 -04:00
Samuel Clay
08bd3497b8 HAProxy should only redirect root from http to https. Some clients don't handle http->https redirect well, so preserve their use. 2021-04-28 17:37:37 -04:00
Samuel Clay
c32830faf9 Fixing feed chooser dropdown on dialogs, specifically the Statistics dialog. 2021-04-27 20:12:58 -04:00
Samuel Clay
5b3a95bc0b Staging doesn't use jinja templates, so no need to ignore 2021-04-12 10:11:36 -04:00
Samuel Clay
18c1ac8365 Fixing broken calc command in compressed CSS. Can use a - but not a + because the space will condense from calc(100% + 56px) to calc(100%+56px) which is invalid CSS. 2021-04-07 21:25:22 -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
Samuel Clay
499a6e1d2c Fixing consul service ports for node. 2021-03-17 08:22:23 -04:00
Samuel Clay
2906e92499 Merging all four node servers into a single one on port 8008. Updating HAProxy on both consul and docker-compose. 2021-03-16 19:34:11 -04:00
Samuel Clay
b44cc5c509 Adding staging and discovery to web app. 2021-03-15 13:55:36 -04:00
Samuel Clay
3491d61642 Adding discovery and staging servers. Also adding a second node socket server. 2021-03-15 10:41:58 -04:00
Samuel Clay
f1dd44198d Switching from SRV based automatic haproxy server identification to manual tempaltes. Not great but not terrible. 2021-03-11 09:51:46 -05:00
Samuel Clay
d11e57c363 Attempting to fix consul issues with haproxy's server-template. 2021-03-11 00:50:59 -05:00
Samuel Clay
a900a46b68 Attempting to fix resolve issues. 2021-03-10 16:54:18 -05:00
Jonathan Math
a577b3ace2 remove work backend from haproxy.consul.cfg.js 2021-03-09 11:20:45 -05:00
Jonathan Math
059848707f remove haproxy dockerfile usage 2021-03-09 11:09:52 -05:00
Samuel Clay
4ad908e233 Fixing updates for new premium users. Also attempting to fix redis server data persistance issues. 2021-03-08 19:47:24 -05:00
Samuel Clay
eb173367e1 Removing unused machines from docker compose. Consolidating into task_celery. 2021-03-08 19:04:44 -05:00
Samuel Clay
15a2cda0c8 Renaming servers in docker-compose haproxy. 2021-03-08 18:05:22 -05:00
Jonathan Math
2f5822e3a9 merge changes 2021-03-08 17:40:40 -05:00
Jonathan Math
3d34aea15e fix haproxy service discovery issues 2021-03-08 17:39:10 -05:00
Samuel Clay
e80f552c7b Renaming servers in docker-compose haproxy. 2021-03-08 15:50:59 -05:00
Jonathan Math
e10598a99f fix haproxy docker-compose ssl issue 2021-03-08 15:04:52 -05:00
Jonathan Math
a15a50e686 change db container names in haproxy for docker-compose 2021-03-08 14:19:30 -05:00
Samuel Clay
13b0da1f85 Correcting maintenance page for haproxy. 2021-02-25 10:32:10 -05:00
Jonathan Math
496347a1d7 fix port for monitor in haproxy.consul.cfg.j2 2021-02-25 10:17:49 -05:00
Jonathan Math
8a362f385f move haproxy swarm files to archive 2021-02-25 10:15:26 -05:00
Samuel Clay
883cf8005f Correcting nginx in haproxy. 2021-02-24 20:17:35 -05:00
Samuel Clay
155f9561db Updating node dockerfile to place node_modules in a parent directory to allow for volumizing node code. 2021-02-24 20:02:37 -05:00
Samuel Clay
5e284a5752 Fixing haproxy link to node-page. 2021-02-24 18:13:26 -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
d498cca9e1 Handling multiple servers of the same name. Adding node-images for imageproxy. 2021-02-18 18:03:36 -05:00