Skip to content

Commit

Permalink
Fix local redis port
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-piles committed Dec 13, 2024
1 parent 223e3e6 commit 13d440e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ services:
- SENTRY_DSN=${SENTRY_DSN:-}
- PYTHONUNBUFFERED=1
network_mode: host
env_file: .env
depends_on:
- mongo-pdf-layout

Expand All @@ -33,7 +32,6 @@ services:
- SENTRY_DSN=${SENTRY_DSN:-}
- PYTHONUNBUFFERED=1
network_mode: host
env_file: .env
depends_on:
- mongo-pdf-layout

Expand Down
4 changes: 2 additions & 2 deletions src/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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()
Expand Down

0 comments on commit 13d440e

Please sign in to comment.