Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
address comments
  • Loading branch information
icecrasher321 committed Mar 28, 2026
commit c77f3e6c214a14d59d54f7c4e72e8b113a8e5ce0
2 changes: 1 addition & 1 deletion docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ services:
migrations:
condition: service_completed_successfully
healthcheck:
test: ['CMD', 'wget', '--spider', '--quiet', 'http://127.0.0.1:${WORKER_PORT:-3001}/health']
test: ['CMD', 'wget', '--spider', '--quiet', 'http://127.0.0.1:${WORKER_PORT:-3001}/health/live']
interval: 90s
timeout: 5s
retries: 3
Expand Down
4 changes: 4 additions & 0 deletions helm/sim/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,10 @@ Skip validation when using existing secrets or External Secrets Operator
{{- fail "realtime.env.BETTER_AUTH_SECRET must not use the default placeholder value. Generate a secure secret with: openssl rand -hex 32" }}
{{- end }}
{{- end }}
{{- /* Worker validation - REDIS_URL is required when worker is enabled */ -}}
{{- if and .Values.worker.enabled (not .Values.app.env.REDIS_URL) }}
{{- fail "app.env.REDIS_URL is required when worker.enabled=true" }}
{{- end }}
{{- /* PostgreSQL password validation - skip if using existing secret or ESO */ -}}
{{- if not (or $useExistingPostgresSecret $useExternalSecrets) }}
{{- if and .Values.postgresql.enabled (not .Values.postgresql.auth.password) }}
Expand Down
2 changes: 2 additions & 0 deletions helm/sim/templates/deployment-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,11 @@ spec:
value: "service.name=sim-worker,service.version={{ .Chart.AppVersion }},deployment.environment={{ .Values.worker.env.NODE_ENV }}"
{{- end }}
{{- range $key, $value := .Values.worker.env }}
{{- if ne $key "WORKER_PORT" }}
- name: {{ $key }}
value: {{ $value | quote }}
{{- end }}
Comment thread
icecrasher321 marked this conversation as resolved.
{{- end }}
{{- with .Values.extraEnvVars }}
{{- toYaml . | nindent 12 }}
{{- end }}
Expand Down
Loading