Try and tuck away more files
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Luke Murphy 2020-07-05 03:19:38 +02:00
parent e86f162b84
commit a98c854ff8
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
7 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
export CELERY_BROKER_URL=redis://localhost:6379
export CELERY_RESULT_BACKEND=redis://localhost:6379
export FLASK_APP=wsgi:app
export FLASK_APP=scripts.wsgi:app
export FLASK_ENV=development
export REDIS_HOST=localhost
export REDIS_PORT=6379

View File

@ -14,6 +14,7 @@ $ cd magic-app
### Docker Way
```
$ cd docker
$ docker-compose up
```

BIN
celerybeat-schedule Normal file

Binary file not shown.

View File

@ -5,11 +5,12 @@ x-env: &env
environment:
CELERY_BROKER_URL: "redis://redis:6379"
CELERY_RESULT_BACKEND: "redis://redis:6379"
FLASK_APP: "wsgi:app"
FLASK_APP: "scripts.wsgi:app"
FLASK_ENV: "development"
REDIS_HOST: "redis"
REDIS_PORT: "6379"
REDIS_SESSION_DB: "0"
SECRET_KEY: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
services:
flask:
@ -28,7 +29,7 @@ services:
<<: *env
command: |
poetry run
celery worker -A celworker.celery -B -l debug
celery worker -A scripts.celworker.celery
volumes:
- "./:/magic_app/"

0
scripts/__init__.py Normal file
View File