Commit graph

595 commits

Author SHA1 Message Date
Samuel Clay
68abd7cc55 docker ps should include -a for stopped containers. 2021-04-13 11:08:06 -04:00
Jonathan Math
d9306c1ef3 fix ansible netdata 2021-04-12 14:58:48 -05:00
Samuel Clay
4758bc11e4 Re-enabling disable_consul_services for staging. 2021-04-12 10:13:25 -04:00
Jonathan Math
82f0a99f67 monitors are running in ansible. had to comment out disable_consul_services: yes in setup_staging.yml 2021-04-10 12:10:50 -05:00
Samuel Clay
e82da094ab Search01 is a DB 2021-04-09 23:02:28 -04:00
Samuel Clay
f0aafc7413 Forgive me for this commit. It's a stopgap in consul configs. I need to be able to automate changes to consul configs, but what I was doing was manually juggling these configs on the old datacenter. While this is ugly, it works and as soon as the old DC is retired, we can rip this out. I mean this is basically /etc/hosts, just uglier. 2021-04-08 15:55:58 -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
70ba058aa4 Deployment of compressed static assets through S3. 2021-04-07 20:48:01 -04:00
Jonathan Math
479ec483f1 rename newsblur_data_request to newsblur for netdata charts and add a few more charts. WIP 2021-04-06 17:47:30 -05:00
Samuel Clay
2251d29c2f Celery should always reset. 2021-04-06 16:16:50 -04:00
Samuel Clay
1c26ec2ce4 Don't know why this didn't take 2021-04-02 18:47:36 -04:00
Jonathan Math
24f4f59807 add ansible role (WIP) 2021-04-02 09:56:03 -05:00
Samuel Clay
55a200a5b3 Graceful deploys for gunicorn. Turns out a HUP signal to the docker container isn't the same thing as a HUP signal to the actual process, which can be done outside of the container. 2021-03-26 18:44:56 -04:00
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
b5714fe596 If an app isn't connected, ignore 2021-03-23 15:30:51 -04:00
Samuel Clay
3e61c5e907 Feed autocomplete is trnaslated to elasticsearch 7, but doesn't work quite yet. 2021-03-23 15:30:44 -04:00
Jonathan Math
9614844901 fix haproxy volume issue 2021-03-23 09:35:33 -05: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
15cfd7a592 Using the gunicorn config so workers can be toned down. 2021-03-17 17:16:49 -04:00
Samuel Clay
1ab0af2ef1 Adding debug to sentry. 2021-03-17 10:05:26 -04:00
Samuel Clay
c8781119c8 Deploy node only should change newsblur node containers 2021-03-17 09:48:17 -04:00
Samuel Clay
6cb30d6aa0 Restarting node on deploy. 2021-03-17 09:31:19 -04:00
Samuel Clay
abb56cad25 Adding server-name to debug output for node. 2021-03-17 09:15:20 -04:00
Samuel Clay
eeb3db4ad3 Adding dotenv and sentry tracing to node. 2021-03-17 09:10:37 -04:00
Samuel Clay
cb86a487e2 Adding new node server to staging environment. 2021-03-17 08:30:12 -04:00
Samuel Clay
499a6e1d2c Fixing consul service ports for node. 2021-03-17 08:22:23 -04:00
Samuel Clay
6df06aadc4 Toprc as part of zsh install 2021-03-17 07:50:45 -04:00
Samuel Clay
0a7aa73f46 Decreasing max tasks. 2021-03-16 23:08:28 -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
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