Add new infra architecture
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
# Distribution Service Dockerfile
|
||||
# Stage 1: Copy shared libraries
|
||||
FROM python:3.11-slim AS shared
|
||||
FROM localhost:5000/python_3.11-slim AS shared
|
||||
WORKDIR /shared
|
||||
COPY shared/ /shared/
|
||||
|
||||
# Stage 2: Main service
|
||||
FROM python:3.11-slim
|
||||
FROM localhost:5000/python_3.11-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
@@ -50,9 +50,9 @@ class DistributionService(StandardFastAPIService):
|
||||
|
||||
def __init__(self):
|
||||
# Define expected database tables for health checks
|
||||
# Must match tables created in migrations/versions/001_initial_schema.py
|
||||
distribution_expected_tables = [
|
||||
'delivery_routes', 'shipments', 'route_assignments', 'delivery_points',
|
||||
'vehicle_assignments', 'delivery_schedule', 'shipment_tracking', 'audit_logs'
|
||||
'delivery_routes', 'shipments', 'delivery_schedules'
|
||||
]
|
||||
|
||||
# Define custom metrics for distribution service
|
||||
|
||||
Reference in New Issue
Block a user