fix: wait after initialisation of postgresql

This commit is contained in:
NicolasHorde 2025-03-25 00:56:18 +01:00
parent 4b7638470d
commit c7a22496ab
Signed by: administrateur
GPG Key ID: 6F1745736DC187CC
2 changed files with 9 additions and 3 deletions

View File

@ -13,6 +13,15 @@ spec:
labels:
app: typebot-builder
spec:
initContainers:
- name: wait-for-postgres
image: busybox
command:
- /bin/sh
- -c
- >
until nc -z typebot-postgres 5432;
do echo "Waiting for PostgreSQL..."; sleep 2; done;
containers:
- name: typebot-builder
image: {{ .Values.image.builder.repository }}:{{ .Values.image.builder.tag }}

View File

@ -21,9 +21,6 @@ image:
repository: postgres
tag: 15
studio:
enabled: true
s3:
enabled: true
accessKey: minio