Try to fix apache not starting

This commit is contained in:
Micke Nordin 2023-03-29 09:46:10 +02:00
parent 88f2c1e49f
commit 11f62bf2dd
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -35,9 +35,6 @@ spec:
- name: nextcloud-data
mountPath: /var/www/html/config
subPath: config
- name: apache-config
mountPath: /etc/apache2/sites-enabled/000-default.conf
subPath: 000-default.conf
resources:
limits:
cpu: 1500m
@ -58,7 +55,6 @@ spec:
ports:
- containerPort: 80
name: nextcloud-http
command: ['/bin/sh', '-c', '/etc/init.d/apache2 start']
initContainers:
- image: docker.sunet.se/sunet/docker-jinja:latest
name: init-config
@ -170,9 +166,3 @@ spec:
items:
- key: "config.php"
path: "config.php"
- name: apache-config
configMap:
name: nextcloud-configmap
items:
- key: "000-default.conf"
path: "000-default.conf"