diff --git a/customers/base/nextcloud-deployment.yml b/customers/base/nextcloud-deployment.yml index 114be01..c6e5414 100644 --- a/customers/base/nextcloud-deployment.yml +++ b/customers/base/nextcloud-deployment.yml @@ -37,10 +37,20 @@ spec: - name: apache-config mountPath: /etc/apache2/sites-enabled/000-default.conf subPath: 000-default.conf + readinessProbe: + tcpSocket: + port: 8080 + initialDelaySeconds: 180 + periodSeconds: 60 + livenessProbe: + tcpSocket: + port: 8080 + initialDelaySeconds: 300 + periodSeconds: 180 ports: - containerPort: 8080 name: nextcloud-http - command: ['/bin/sh', '-c', '. /etc/apache2/envvars; apache2 -k start -DFORGROUND'] + command: ['/bin/sh', '-c', '. /etc/apache2/envvars; apachectl -DFORGROUND'] initContainers: - image: docker.sunet.se/sunet/docker-jinja:latest name: init-config