fix docker image

This commit is contained in:
Nicolò Boschi 2025-12-10 17:56:51 +01:00
parent 01ba9744e5
commit 1056a20e71
2 changed files with 9 additions and 8 deletions

View file

@ -43,6 +43,9 @@ RUN uv sync
# Copy source code (alembic migrations are inside hindsight_api/) # Copy source code (alembic migrations are inside hindsight_api/)
COPY hindsight-api/hindsight_api ./hindsight_api COPY hindsight-api/hindsight_api ./hindsight_api
# Install the local package (uv sync only installed dependencies, not the package itself)
RUN uv pip install -e .
# ============================================================================= # =============================================================================
# Stage: SDK Builder (needed for Control Plane) # Stage: SDK Builder (needed for Control Plane)
# ============================================================================= # =============================================================================

View file

@ -1,7 +1,7 @@
# Default values for hindsight # Default values for hindsight
# Chart version - use this to set a consistent image tag across all components # Chart version - use this to set a consistent image tag across all components
version: "0.1.0" version: "0.1.1"
# Global settings # Global settings
replicaCount: 1 replicaCount: 1
@ -32,7 +32,7 @@ api:
# Liveness and readiness probes # Liveness and readiness probes
livenessProbe: livenessProbe:
httpGet: httpGet:
path: / path: /health
port: 8888 port: 8888
initialDelaySeconds: 30 initialDelaySeconds: 30
periodSeconds: 10 periodSeconds: 10
@ -41,7 +41,7 @@ api:
readinessProbe: readinessProbe:
httpGet: httpGet:
path: / path: /health
port: 8888 port: 8888
initialDelaySeconds: 10 initialDelaySeconds: 10
periodSeconds: 5 periodSeconds: 5
@ -81,10 +81,9 @@ controlPlane:
cpu: 250m cpu: 250m
memory: 512Mi memory: 512Mi
# Liveness and readiness probes # Liveness and readiness probes (TCP check)
livenessProbe: livenessProbe:
httpGet: tcpSocket:
path: /
port: 3000 port: 3000
initialDelaySeconds: 30 initialDelaySeconds: 30
periodSeconds: 10 periodSeconds: 10
@ -92,8 +91,7 @@ controlPlane:
failureThreshold: 3 failureThreshold: 3
readinessProbe: readinessProbe:
httpGet: tcpSocket:
path: /
port: 3000 port: 3000
initialDelaySeconds: 10 initialDelaySeconds: 10
periodSeconds: 5 periodSeconds: 5