Commit graph

317 commits

Author SHA1 Message Date
Samuel Clay
a22ce16a0e Attempting to handle mistaken week where stories were inserted with no doc type. 2021-04-27 15:25:46 -04:00
Jonathan Math
400ca82d4f remove non-working volume from grafana and open ports to prometheus in ansible 2021-04-27 08:54:40 -05:00
Jonathan Math
3b9d765229 fix grafana role 2021-04-27 08:23:35 -05:00
Jonathan Math
6276bc8448 begin development with ansible by adding to docker-compose and starting ansible roles 2021-04-27 08:00:06 -05:00
Jonathan Math
e1748b8e90 remove netdata 2021-04-27 07:58:19 -05:00
Samuel Clay
1773eb4dd5 Ignoring task env settings. 2021-04-26 16:36:04 -04:00
Samuel Clay
a52bea2829 Removing separate celerybeat container and using unified celery+celerybeat container. 2021-04-22 16:27:57 -04:00
Samuel Clay
5d7ddb1d8a Adding netdata in to task servers. Also setting up logrotate. 2021-04-22 11:36:44 -04:00
Samuel Clay
53e6998bbc Adding celery start 2021-04-21 11:23:16 -04:00
Samuel Clay
230716465e Adding new optional app/task env settings. 2021-04-20 18:02:12 -04:00
Samuel Clay
c96daac120 Don't restart unless requested. 2021-04-17 11:31:56 -04:00
Samuel Clay
8974b0dd9a Fixing old+new ansible hosts. 2021-04-16 17:25:32 -04:00
Samuel Clay
0d01874cf2 Adding docker restart for applying celery container changes. 2021-04-14 13:06:57 -04:00
Samuel Clay
df3f125f37 Adding redis restore. 2021-04-13 16:42:31 -04:00
Samuel Clay
20a35dfe62 Reclaiming netdata 2021-04-13 15:57:01 -04:00
Samuel Clay
fa7d75d89f Defaults 2021-04-13 15:27:47 -04:00
Samuel Clay
6fb27a3b00 Switching to netdata config template. 2021-04-13 15:06:07 -04:00
Samuel Clay
3a3248a227 Adding claiming to netdata. 2021-04-13 14:59:12 -04:00
Samuel Clay
3da8b8273d Adding names to deploy scripts. 2021-04-13 12:04:48 -04:00
Samuel Clay
8a30086f0f Refactoring Ansible provision/setup and deploy scripts to use a single script which calls appropriate roles and playbooks based on hostname 2021-04-13 11:59:42 -04:00
Jonathan Math
038b0fbc9a Merge branch 'dashboard3' of https://github.com/samuelclay/NewsBlur into dashboard3 2021-04-13 10:20:50 -05:00
Jonathan Math
16f9aad307 add hostname to netdata and turn off stories chart 2021-04-13 10:20:44 -05:00
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