diff --git a/core/management/commands/processing.py b/core/management/commands/processing.py index ae019df..ce3eef6 100644 --- a/core/management/commands/processing.py +++ b/core/management/commands/processing.py @@ -1,11 +1,13 @@ +import msgpack from django.core.management.base import BaseCommand, CommandError from redis import StrictRedis -from core.util import logs + from core.lib.rules import process_rules -import msgpack +from core.util import logs log = logs.get_logger("processing") + class Command(BaseCommand): def handle(self, *args, **options): r = StrictRedis(unix_socket_path="/var/run/socks/redis.sock", db=0) diff --git a/docker-compose.yml b/docker-compose.yml index b222c71..33464cb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -41,7 +41,7 @@ services: volumes: - ${PORTAINER_GIT_DIR}:/code - ${PORTAINER_GIT_DIR}/docker/uwsgi.ini:/conf/uwsgi.ini - #- ${APP_LOCAL_SETTINGS}:/code/app/local_settings.py + - ${APP_LOCAL_SETTINGS}:/code/app/local_settings.py - ${APP_DATABASE_FILE}:/code/db.sqlite3 - neptune_static:${STATIC_ROOT} env_file: