Commit graph

317 commits

Author SHA1 Message Date
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
dc5d23e4fd Adding backups role 2021-03-16 15:23:57 -04:00
Samuel Clay
dbd6f8bdee No consul on discovery. Fixing tlnb. 2021-03-16 15:20:24 -04:00
Samuel Clay
983984a1f3 Ignoring backups. Working on staging and discovery. 2021-03-15 20:06:27 -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
bd74f389f6 Fixing alignment issue in docker compose. 2021-03-15 11:13:27 -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
3ce2b4d837 Rolling deploys for web. 2021-03-11 18:20:22 -05:00
Samuel Clay
d27c8fd91a Fixing pubsub monitor 2021-03-11 10:31:25 -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
388d110d46 Commenting no-resolv 2021-03-11 08:37:04 -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
Samuel Clay
b210868955 Monitor takes a harder restart 2021-03-10 12:38:52 -05:00
Samuel Clay
a07a0ec948 Adding deploy monitor. 2021-03-10 10:36:32 -05:00
Jonathan Math
9da41745be change monitor to use host networking and change consul service template healthchecks to port 5579 2021-03-09 10:55:58 -05:00
Samuel Clay
baabc678b4 Adding deploy work, updating zshrc to include correct container name for shell_plus command. 2021-03-08 11:33:58 -05:00
Jonathan Math
26fe4f82b8 use ansible_ssh_host ip address for consul service health checks 2021-03-04 13:30:02 -05:00
Jonathan Math
249653b256 use host networking for monitor 2021-03-04 13:29:08 -05:00
Jonathan Math
98b15fc73c remove dockerbuild=True from monitor 2021-03-04 13:15:03 -05:00
Samuel Clay
14daddc018 Using port 5579 for monitor. 2021-03-04 12:55:41 -05:00
Samuel Clay
05afdce691 Fixing search indexing. Also removing superfluous search_indexer_tasker queue. 2021-03-03 17:04:05 -05:00
Samuel Clay
b64f06c269 Refactoring tlnb and sshdo commands for new Docker-based installation. 2021-03-03 11:15:09 -05:00
Samuel Clay
7dcfea68fb Adding certificates for APNS 2021-03-02 18:32:54 -05:00
Jonathan Math
45a37a5a99 remove unnecessary DOCKERBUILD env variable from postgres container role 2021-03-02 10:42:25 -05:00
Jonathan Math
78f3db01a1 publish container port 5579 as port 5000 so the db_monitor will be reachable at port 5000 2021-03-02 10:41:21 -05:00
Jonathan Math
90c13af5f8 add monitor roles to setup playbooks for dbs. 2021-03-02 10:39:50 -05:00
Jonathan Math
bcb74c6401 change consul_service.json files to include health checks using local monitor for database services 2021-03-02 10:37:21 -05:00
Samuel Clay
cb0ccb3e02 Whitney everywhere. This is a big change. I think everything needs a 1px bump up in size. 2021-02-26 17:25:22 -05:00
Samuel Clay
84a31e3da6 Adding start/stop commands to task deployment. 2021-02-26 10:48:10 -05:00
Samuel Clay
d54de1cd23 Handling ConnectionResetError 2021-02-25 20:04:24 -05:00
Samuel Clay
7f328b11c8 Typo 2021-02-25 19:16:28 -05:00
Samuel Clay
1d16ec88b1 Wrapping feed fetcher in sentry exception capturing. 2021-02-25 19:13:21 -05:00
Samuel Clay
01248e5a1b Fixing task servers. Also fixing sentry max size limit. 2021-02-25 18:50:20 -05:00
Jonathan Math
48cb662294 add copy secrets task to monitor role 2021-02-25 11:39:19 -05:00
Samuel Clay
67e36c40a6 Reloading celery when app secrets changes. 2021-02-25 11:34:40 -05:00
Samuel Clay
8ebf75d8ab Deploying haproxy vs setting up haproxy (reload vs restart) 2021-02-25 10:32:10 -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
Samuel Clay
0c8b2d3069 Using gunicorn config. 2021-02-24 14:40:43 -05:00
Samuel Clay
c12b2493ed Finishing up db-mongo-analytics. Redis also now works. 2021-02-24 11:57:26 -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