NewsBlur/docker
Samuel Clay 88d07b143c Merge branch 'master' into pro
* master: (31 commits)
  Adding postgres backup log.
  Handling operation failures in flask metrics.
  Locking consul to a working version. Also changing flask status code response to handle custom status codes.
  Explicitly uploading mongo backups
  Only need date once in filename
  Rotating mongo backups
  Using full path for progress.
  Showing full path of postgres backup.
  Separating out restoring backups and storing backups.
  Moving to postgres backup directory.
  Executable postgres backup script.
  Compressing Postgres db sql backup.
  Adding date to tarball to allow for versioning.
  Correcting permissions on mongo backup
  Fixing mongo upload to s3 by using host networking mode.
  Removing unused backup code.
  Forgot import
  Adding progress bar to mongo backup.
  Refactoring aws keys for mongo backups.
  Moving mongo backups
  ...
2022-02-04 13:55:38 -05:00
..
alertmanager rename prometheus docker files and add files for alertmanager 2021-05-07 10:00:46 -05:00
grafana Adding sentry grafana pluging. 2022-01-05 13:22:24 -05:00
haproxy Fixing names for state timeline, also fixing node server bootstrap. 2022-01-04 14:44:47 -05:00
mongo Compressing Postgres db sql backup. 2022-02-03 15:39:36 -05:00
monitor Updating to docker buildx for multi-arch builds (amd64 + arm64) 2022-01-18 17:25:07 -05:00
nginx Cleaning up pipeline and adding admin static assets, but now certain admin static assets are being post-processed multiple times but with different cache manifests, resulting in a file not found error. This needs work. 2022-01-06 11:01:35 -05:00
node Fix node image/ docker-compose issue 2021-10-18 11:48:43 -05:00
postgres Rotating mongo backups 2022-02-03 16:17:32 -05:00
prometheus Bumping haproxy state timeline scrapes. 2022-01-04 12:51:45 -05:00
redis Looks like redis wasn't being saved properly in docker-compose. 2022-01-11 17:23:58 -05:00
data.json fix for the 403 where cookies do not match initial site.site 2015-11-02 00:21:13 -08:00
newsblur_base_image.Dockerfile Showing next invoice. 2022-01-26 15:51:26 -05:00
newsblur_deploy.Dockerfile Deploying new asset pipeline 2022-01-19 15:22:05 -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