Add back modules
This commit is contained in:
parent
109ed4fb70
commit
ce887e99f8
1 changed files with 2 additions and 8 deletions
|
@ -62,8 +62,6 @@ spec:
|
||||||
- name: run-volume
|
- name: run-volume
|
||||||
mountPath: /var/run/apache2
|
mountPath: /var/run/apache2
|
||||||
subPath: apache2
|
subPath: apache2
|
||||||
- name: hugepage
|
|
||||||
mountPath: /dev/hugepages
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
cpu: 1500m
|
cpu: 1500m
|
||||||
|
@ -87,7 +85,7 @@ spec:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
name: nextcloud-http
|
name: nextcloud-http
|
||||||
command: ["/bin/bash"]
|
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"]
|
#command: ["/bin/sh","-c", "apachectl -D FOREGROUND; tail -f /dev/null"]
|
||||||
initContainers:
|
initContainers:
|
||||||
- image: docker.sunet.se/sunet/docker-jinja:latest
|
- image: docker.sunet.se/sunet/docker-jinja:latest
|
||||||
|
@ -197,7 +195,7 @@ spec:
|
||||||
key: "redis_password"
|
key: "redis_password"
|
||||||
- name: SITE_NAME
|
- name: SITE_NAME
|
||||||
value: "customer.drive.test.sunet.se"
|
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:
|
volumes:
|
||||||
- name: nextcloud-config-template
|
- name: nextcloud-config-template
|
||||||
configMap:
|
configMap:
|
||||||
|
@ -238,7 +236,3 @@ spec:
|
||||||
- name: conf-volume
|
- name: conf-volume
|
||||||
emptyDir:
|
emptyDir:
|
||||||
sizeLimit: 500Mi
|
sizeLimit: 500Mi
|
||||||
- name: hugepage
|
|
||||||
emptyDir:
|
|
||||||
medium: HugePages
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue