NewsBlur/docker
Samuel Clay d3449db1ec Merge branch 'docker_django3.1' into dashboard3
* docker_django3.1:
  add swarm_instructions.sh
  update celery task name to cron_queue in settings.py.orig
  change redis port to 6579 in docker local settings
  update celery task name to cron_queue in settings.py
  add image building and deployment functionality to Makefile
  update docker files to include code in the image so we can use with swarm (without configuring shared volumes yet)
  change beat_tasks to cron_queue in config/supervision_celeryd_beat.conf
  change pymysql version in __init__ to the new django compatible version
  change names for swarm service in swarm haproxy.conf file
  remove ssl from nginx
  fix dependency issues
  change nginx check time in haproxy
  add .dockerignore
  update newsblur dir to newsblur_web in code
  adjust resource limits on containers in stack-compose and correct monitor command
  clean up and fix stack-compose.yml file
  correct docker-compose images
2021-01-23 19:31:06 -05:00
..
haproxy update docker files to include code in the image so we can use with swarm (without configuring shared volumes yet) 2021-01-19 09:49:49 -05:00
nginx remove ssl from nginx 2021-01-19 09:42:24 -05:00
node update docker files to include code in the image so we can use with swarm (without configuring shared volumes yet) 2021-01-19 09:49:49 -05:00
postgres Fix: build postgres container without error 2018-12-28 11:56:30 +01:00
redis make changes to Dockefiles and add new dockerfiles for stack-compose to you since swarm can't build from docker images 2020-12-07 21:08:33 -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 upgrade to django 1.6 and make migrations 2020-06-05 11:00:54 -04:00
newsblur_base_image.Dockerfile Merge branch 'docker_django3.1' into dashboard3 2021-01-23 19:31:06 -05:00
README.md Update README files to replace syncdb with migrate 2020-06-07 08:12:51 -04:00
swarm_instructions.sh add swarm_instructions.sh 2021-01-19 11:42:07 -05: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