Commit graph

92 commits

Author SHA1 Message Date
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
15cfd7a592 Using the gunicorn config so workers can be toned down. 2021-03-17 17:16:49 -04:00
Samuel Clay
499a6e1d2c Fixing consul service ports for node. 2021-03-17 08:22:23 -04:00
Samuel Clay
959481138d Updating docker-compose with new single node container. 2021-03-16 20:00:55 -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
4d9176872b Adding staging host. nginx now considers if its on prod or staging and adjusts its port. 2021-03-15 13:01:41 -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
Jonathan Math
ee49bc97b2 add proper healthcheck/wait for postgres in docker-compose and fix docker/local_settings.py 2021-03-14 16:17:14 -05: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
Samuel Clay
a69aae6ce3 Moving monitor Dockerfile. 2021-03-09 11:10:42 -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
Jonathan Math
7f3d1ca080 delete dockerfile for redis. it is a relic of swarm 2021-03-04 13:29:38 -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
Jonathan Math
698940ffd6 add archive dir and move old swarm files to archive. also move ansible archive to archive/ansible 2021-02-24 17:23:26 -05:00
Samuel Clay
cf3bec14ad Trying to get node docker setup but oddly it works locally and not in prod. 2021-02-24 17:17:06 -05:00
Jonathan Math
6c45c465ae removing prod image dockerfile and reference 2021-02-24 17:11:55 -05: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
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
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
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