diff --git a/docker-compose.yml b/docker-compose.yml index a268332..c7299a1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -58,11 +58,21 @@ services: # default: + worker: + build: . + entrypoint: python3 manage.py qcluster + volumes: + - .:/DOSPORTAL + depends_on: + - web + - db_dosportal + - redis + networks: + inet: + ipv4_address: 10.5.0.8 + redis: image: redis - #build: . - #command: redis-server && python qcluster - #entrypoint: redis-server && python3 manage.py qcluster volumes: - .:/DOSPORTAL depends_on: diff --git a/requirements.txt b/requirements.txt index 85c9f32..b3c52f4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -33,4 +33,7 @@ django-gravatar2 django-prettyjson tables -django-markdownx \ No newline at end of file +django-markdownx + +markdown +djangorestframework \ No newline at end of file