Skip to content

Demo of using docker, celery, django, redis, postgres, docker compose

Notifications You must be signed in to change notification settings

palmy-investing/docker-celery

 
 

Repository files navigation

docker-celery

Getting started

docker-compose contains all required containers.

  • Start the postgres container and pgadmin container first.
  • Access pgadmin after starting via http://localhost:5050/browser/ password is changeme.
  • Create a database user called hitman with a password hitman. Superuser access required.
  • Create a database called hitman_db and grant hitman user permission.
  • After doing so run the rest-api container once hitman_db database has been setup and running.
  • Visit http://localhost:8000/hitmen/start-job to start a job, monitor celery logs to watch processing.
  • Visit http://localhost:5555/ for celery flower.
  • celery -A findmyhitman worker --beat --loglevel=DEBUG --scheduler django_celery_beat.schedulers:DatabaseScheduler
  • docker run -dp 3000:3000 hitman/webapp

About

Demo of using docker, celery, django, redis, postgres, docker compose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 38.3%
  • Shell 32.1%
  • Python 21.9%
  • Dockerfile 3.7%
  • HTML 2.6%
  • CSS 1.4%