Browse Source

Fix docker and readme celery command

Dashie der otter 3 months ago
parent
commit
9d01877804
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      Dockerfile-worker
  2. 1
    1
      README.md

+ 1
- 1
Dockerfile-worker View File

@@ -35,4 +35,4 @@ EXPOSE 5000
35 35
 
36 36
 ENTRYPOINT ["/entrypoint.sh"]
37 37
 
38
-CMD ["dramatiq", "workers.py", "-q", "upload_workflow"]
38
+CMD ["celery", "worker", "-A", "tasks.celery", "--loglevel=error"]

+ 1
- 1
README.md View File

@@ -71,7 +71,7 @@ TODO
71 71
 # Workers
72 72
   Run the workers using:
73 73
   
74
-    $ celery worker -A tasks --loglevel=error
74
+    $ celery worker -A tasks.celery --loglevel=error
75 75
       
76 76
 # TODO
77 77
   - Better handle transcoding and waveform generation for FLAC and OGG (audiowaveform should use the transcoded mp3 file)

Loading…
Cancel
Save