NewsBlur/docker
Samuel Clay 9ced4ccadd Merge branch 'master' into pipeline
* master: (84 commits)
  Deploying new analytics server.
  Create mongodb database user. Only runs on analytics, but should work fine on main mongo.
  Adding second mongo analytics db, cleaning up mongo analytics auth.
  Adding RSS autodiscovery to blog. Thanks https://forum.newsblur.com/t/irony-newsblur-cant-auto-extract-rss-feed-from-blog-newsblur-com/8849.
  Revert "Merge branch 'state_timeline'"
  Fixing syntax error
  Solving docker networking container issues by turning iptables back on but using ufw after.rules that allow ufw to retain blocking ability. Works on Redis, now to move to mongo.
  fix flask_metrics ansible role
  add state timeline dashboard to grafana
  move state timeline to one single flask that gets astate for all services
  Mongo analytics monitor not reayd yet
  Turning consul monitor back on.
  Turning on analytics
  Need to strip csv values.
  Binding redis to public interface.
  Restore postgres backup. Needs work.
  Prepping postgres backup
  Prepping postgres transition, writing redis db maintenance.
  Prepping redis for moving back to primary.
  Updating redis backup to include percentage progress and access to the correct data dump.
  ...
2021-12-16 15:41:57 -05:00
..
alertmanager rename prometheus docker files and add files for alertmanager 2021-05-07 10:00:46 -05:00
grafana Revert "Merge branch 'state_timeline'" 2021-12-15 14:17:48 -05:00
haproxy Ciphers on staging 2021-12-07 21:30:52 -05:00
mongo Executable backups for mongo 2021-07-30 16:07:35 -04:00
monitor Removing python2.7 dependency from newsblur docker images. 2021-10-26 10:34:36 -04:00
nginx Fixing remaining broken js files. Collect static command now works as expected. 2021-11-26 16:44:11 -05:00
node Fix node image/ docker-compose issue 2021-10-18 11:48:43 -05:00
postgres Fix: build postgres container without error 2018-12-28 11:56:30 +01:00
prometheus Revert "Merge branch 'state_timeline'" 2021-12-15 14:17:48 -05:00
redis Binding redis to public interface. 2021-12-14 12:34:44 -05:00
data.json fix for the 403 where cookies do not match initial site.site 2015-11-02 00:21:13 -08:00
local_settings.py Docker users don't need DEBUG=True 2021-04-28 10:07:21 -04:00
newsblur_base_image.Dockerfile Switching from Jammit to django-pipeline. Doesn't work yet, needs compressor hooked up and assets checked. 2021-11-14 13:42:06 -05:00
newsblur_deploy.Dockerfile Switching from yuglify to the original closure compiler. Everything's working well, although deployment needs to be rearranged a bit. 2021-11-17 13:41:22 -05:00
README.md Update README files to replace syncdb with migrate 2020-06-07 08:12:51 -04:00

Docker related informations

Install

for PIL (image) libjpeg-dev

DEVELOPMENT just based on presence of /Users in code dir

Missing from template : REDIS_SESSIONS, postgresql_psycopg2

One time setup

On newsblur : docker-compose run newsblur ./manage.py migrate

docker-compose run newsblur ./manage.py loaddata docker/data.json

docker-compose run -e PGPASSWORD=newsblur postgres pg_dump -h newsblur_postgres_1 -U newsblur newsblur | gzip > docker/postgres/init.sql.gz

pip numpy, scipy + apt gfortran libblas-dev liblapack-dev for ./manage.py refresh_feeds --force