Commit graph

62 commits

Author SHA1 Message Date
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
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
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
859de6e0ce template haproxy.cfg file to use ssh key variable from the letsencrypt role, finish the haproxy file 2021-02-16 13:11:26 -05:00
Jonathan Math
8287262d6c rename haproxy.cfg for compose to haproxy.docker-compose.cfg 2021-02-16 12:28:37 -05:00
Samuel Clay
a7c05a8b3a HAProxy config 2021-02-08 22:44:07 -05:00
Samuel Clay
4981978046 Updating keys to fix haproxy. 2021-02-08 22:40:06 -05:00
Samuel Clay
30eab70fdf SSL cert location. 2021-02-08 22:25:16 -05:00
Samuel Clay
e72488bd93 Updating haproxy config, updating DB motd, and finishing up letsencrypt ansible role. 2021-02-08 22:21:03 -05:00
Samuel Clay
f02f43dd18 New Lets Encrypt role, uses DNSimple token. 2021-02-08 20:49:55 -05:00
Samuel Clay
94d900aedc Working on inventories. 2021-02-08 19:22:51 -05:00
Jonathan Math
32707c057b update docker files to include code in the image so we can use with swarm (without configuring shared volumes yet) 2021-01-19 09:49:49 -05:00