Add back modules

This commit is contained in:
Micke Nordin 2023-03-29 14:26:46 +02:00
parent 109ed4fb70
commit ce887e99f8
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -62,8 +62,6 @@ spec:
- name: run-volume
mountPath: /var/run/apache2
subPath: apache2
- name: hugepage
mountPath: /dev/hugepages
resources:
limits:
cpu: 1500m
@ -87,7 +85,7 @@ spec:
- containerPort: 8080
name: nextcloud-http
command: ["/bin/bash"]
args: ["-c", "cp /etc/apache2/mods-available/{php8.0.conf,php8.0.load}; apachectl -D FOREGROUND"]
args: ["-c", "cp /etc/apache2/mods-available/{deflate.conf,deflate.load,env.load,mime.conf,mime.load,mpm_prefork.conf,mpm_prefork.load,php8.0.conf,php8.0.load,reqtimeout.conf,reqtimeout.load,setenvif.conf,setenvif.load} /etc/apache2/mods-enabled; apachectl -D FOREGROUND"]
#command: ["/bin/sh","-c", "apachectl -D FOREGROUND; tail -f /dev/null"]
initContainers:
- image: docker.sunet.se/sunet/docker-jinja:latest
@ -197,7 +195,7 @@ spec:
key: "redis_password"
- name: SITE_NAME
value: "customer.drive.test.sunet.se"
command: ["/bin/bash", "-c", "cp /etc/apache2/mods-available/{ccess_compat.load,alias.conf,alias.load,auth_basic.load,authn_core.load,authn_file.load,authz_core.load,authz_host.load,authz_user.load,autoindex.conf,autoindex.load,deflate.conf,deflate.load,dir.conf,dir.load,env.load,filter.load,mime.conf,mime.load,mpm_prefork.conf,mpm_prefork.load,negotiation.conf,negotiation.load,reqtimeout.conf,reqtimeout.load,rewrite.load,setenvif.conf,setenvif.load,socache_shmcb.load,status.conf,status.load} /etc/apache2/mods-enabled/; /usr/bin/j2 -f env -o /var/www/html/config/config.php /tmp/config.php.template"]
command: ["/bin/bash", "-c", "/usr/bin/j2 -f env -o /var/www/html/config/config.php /tmp/config.php.template"]
volumes:
- name: nextcloud-config-template
configMap:
@ -238,7 +236,3 @@ spec:
- name: conf-volume
emptyDir:
sizeLimit: 500Mi
- name: hugepage
emptyDir:
medium: HugePages