fix: wait after initialisation of postgresql
This commit is contained in:
parent
4b7638470d
commit
c7a22496ab
@ -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 }}
|
||||
|
@ -21,9 +21,6 @@ image:
|
||||
repository: postgres
|
||||
tag: 15
|
||||
|
||||
studio:
|
||||
enabled: true
|
||||
|
||||
s3:
|
||||
enabled: true
|
||||
accessKey: minio
|
||||
|
Loading…
x
Reference in New Issue
Block a user