We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a65621 commit e0171a2Copy full SHA for e0171a2
heroku.sh
@@ -1,3 +1,9 @@
1
#!/bin/bash
2
-celery worker -A app.celery -c 1 &
+
3
+for TOKEN in $TOKENS
4
+do
5
+ export ACCESS_TOKEN=$TOKEN
6
+ celery worker -A app.celery -c 1 &
7
+done
8
9
gunicorn -b "0.0.0.0:$PORT" app:app
requirements.txt
@@ -1,7 +1,6 @@
flask
Flask-Caching
-celery
-redis
+celery[redis]
vk-api
python-dotenv
gunicorn
0 commit comments