Commit graph

103 commits

Author SHA1 Message Date
Samuel Clay
18371c6b46 Terraform Digital Ocean v2.0 2021-12-07 10:45:06 -05:00
Samuel Clay
779348c495 Removing unused db redis query counters. 2021-12-06 10:49:37 -05:00
Samuel Clay
38c2004479 Haproxy shoudl reload on config update, adding celery task group, and allowing task servers to update inventory. 2021-11-14 17:21:04 -05:00
Samuel Clay
62a7b1255c Skipping mongo1. 2021-10-26 08:15:17 -04:00
Samuel Clay
5734225d6f Updating Redis to v6, adding redis servers. 2021-10-20 16:46:19 -04:00
Samuel Clay
52b8cfb85b Task servers at , may remove. 2021-10-19 10:58:24 -04:00
Samuel Clay
7ce5ca63f0 Ignoring feed fetch falling emails when not actually falling. 2021-10-06 10:07:21 -04:00
Samuel Clay
532790610d Removing auth from mongo. 2021-09-30 18:02:00 -04:00
Samuel Clay
af390d5fd1 Adding elasticsearch to py3, upgrading monitor, need to fix boto -> boto3. 2021-08-04 18:42:58 -04:00
Samuel Clay
040c165164 Adding db mongo analytics back. 2021-08-04 18:04:06 -04:00
Samuel Clay
edf9caafb6 Hard-coding working node-page volume. 2021-07-22 22:26:44 -04:00
Samuel Clay
f78cd24124 Adding volume to node-page. 2021-07-22 21:16:33 -04:00
Samuel Clay
1ac16508f8 Changing how mongo is registered on consul. Now allows members before they are part of the replica set. 2021-07-21 21:10:02 -04:00
Samuel Clay
82b24fd870 8 app-refresh servers 2021-07-12 21:32:41 -04:00
Samuel Clay
f437f810e4 Adding volume for metrics server. 2021-07-12 11:46:35 -04:00
Samuel Clay
e160a86d2a Switching celery to local log driver for docker due to logs filling up disk space. 2021-06-30 00:22:09 -04:00
Samuel Clay
7d8ba31ee1 Adding blog role and server. 2021-06-22 12:50:08 -04:00
Samuel Clay
ab202d040c Upping app servers. 2021-06-21 14:29:40 -04:00
Samuel Clay
92a0e85ac6 Generate -> Generate inventory.py 2021-05-17 12:10:14 -04:00
Samuel Clay
b1680f9e49 Adding db-metrics server. 2021-05-17 11:30:09 -04:00
Samuel Clay
22605d07cc Changing hostname on early task machines. 2021-05-14 12:29:47 -04:00
Samuel Clay
54e4914804 Adding 3 consul servers. 2021-05-12 15:41:17 -04:00
Samuel Clay
679e70a2b7 Adding mongodb conf. 2021-05-10 18:20:54 -04:00
Samuel Clay
72d8f07cf8 Adding db mongo secondary 2021-05-10 18:08:04 -04:00
Samuel Clay
1b3b42648f Adding benchmarking and volumes for spinning up new mongo clusters. 2021-05-10 13:58:43 -04:00
Samuel Clay
b4d4c64c6c Bumping task servers. 2021-04-22 11:38:27 -04:00
Samuel Clay
a4b7927b92 Nice number of feed fetchers 2021-04-16 17:25:57 -04:00
Samuel Clay
2c1de6bdca Finish moving ansible playbooks, forgot terraform provisioning. 2021-04-16 11:42:49 -04:00
Samuel Clay
2279e117c5 Bumping to 30 task servers 2021-04-08 20:50:47 -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
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
3491d61642 Adding discovery and staging servers. Also adding a second node socket server. 2021-03-15 10:41:58 -04:00
Samuel Clay
c12b2493ed Finishing up db-mongo-analytics. Redis also now works. 2021-02-24 11:57:26 -05:00
Samuel Clay
0c4464636f Rearranging ansible directory 2021-02-23 19:13:54 -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
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
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
af58642ad5 Splitting out dnsmasq 2021-02-17 16:48:07 -05:00
Samuel Clay
69dfd2e6d3 Terraform state now lives on S3. 2021-02-16 19:23:35 -05:00
Samuel Clay
94d900aedc Working on inventories. 2021-02-08 19:22:51 -05:00
Samuel Clay
1901561fa0 Ensuring droplets are created. Fixing a few TF naming issues. 2021-02-08 17:10:33 -05:00
Jonathan Math
7416f512d6 add extra ssh timeout time and commands to check ssh connections in terraform before continuing to do the rest of the provisioning. 2021-02-08 14:18:25 -05:00
Jonathan Math
5fc44621b6 add provision script to run after each droplet creation in terraform script 2021-02-04 15:39:44 -05:00
Jonathan Math
2b08edb21e fix terraform syntax 2021-02-04 14:21:16 -05:00
Jonathan Math
5c07ab7aa9 add consul-manager machine to terraform script 2021-02-04 11:27:30 -05:00
Jonathan Math
fb32619665 remove unnecessary syntax from digitalocean.tf and also limit setup_root to run only on the resource that is causing it to be called 2021-02-03 19:20:20 -05:00
Jonathan Math
8d8ed631c9 update digitalocean.tf to run generate.py and setup_root.yml whenever a droplet is created 2021-02-02 22:56:32 -05:00
Jonathan Math
a5ea4dcb35 add node-page droplet to terraform script 2021-02-02 10:02:28 -05:00
Jonathan Math
b8e17ac70a change 'app' droplet name to 'app-django' in terraform script 2021-02-01 21:41:39 -05:00
Jonathan Math
eaca803321 add missing ssh keys to droplets in terraform script 2021-02-01 12:36:23 -05:00