diff --git a/docker-compose.yml b/docker-compose.yml index f052239..e7a8c08 100755 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,7 +14,6 @@ services: - SENTRY_DSN=${SENTRY_DSN:-} - PYTHONUNBUFFERED=1 network_mode: host - env_file: .env depends_on: - mongo-pdf-layout @@ -33,7 +32,6 @@ services: - SENTRY_DSN=${SENTRY_DSN:-} - PYTHONUNBUFFERED=1 network_mode: host - env_file: .env depends_on: - mongo-pdf-layout diff --git a/src/configuration.py b/src/configuration.py index e571a57..65bfc1f 100644 --- a/src/configuration.py +++ b/src/configuration.py @@ -10,7 +10,7 @@ SERVICE_PORT = os.environ.get("SERVICE_PORT", "5051") GRAYLOG_IP = os.environ.get("GRAYLOG_IP") REDIS_HOST = os.environ.get("REDIS_HOST", "localhost") -REDIS_PORT = os.environ.get("REDIS_PORT", "6739") +REDIS_PORT = os.environ.get("REDIS_PORT", "6379") MONGO_HOST = os.environ.get("MONGO_HOST", "localhost") MONGO_PORT = os.environ.get("MONGO_PORT", "25017") SENTRY_DSN = os.environ.get("SENTRY_DSN") @@ -19,7 +19,7 @@ DOCUMENT_LAYOUT_ANALYSIS_PORT = os.environ.get("DOCUMENT_LAYOUT_ANALYSIS_PORT", "5060") -WORKER_PDF_LAYOUT = os.environ.get("WORKER_PDF_LAYOUT", "worker-pdf-layout") +WORKER_PDF_LAYOUT = os.environ.get("WORKER_PDF_LAYOUT", "http://localhost") DOCUMENT_LAYOUT_ANALYSIS_URL = f"{WORKER_PDF_LAYOUT}:{DOCUMENT_LAYOUT_ANALYSIS_PORT}" APP_PATH = Path(__file__).parent.absolute()