mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
![]() * 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 |
||
---|---|---|
.. | ||
haproxy | ||
nginx | ||
node | ||
postgres | ||
redis | ||
data.json | ||
local_settings.py | ||
newsblur_base_image.Dockerfile | ||
README.md | ||
swarm_instructions.sh |
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