++nextcloud

This commit is contained in:
Nico Schottelius 2021-07-29 20:17:12 +02:00
parent e373df63cd
commit 5da9172e78
1 changed files with 13 additions and 12 deletions

View File

@ -60,6 +60,18 @@ spec:
app: {{ .Release.Name }}-nextcloud
spec:
initContainers:
# - name: copy-php
# image: nextcloud:20-fpm-alpine
# command: [ "/bin/sh" ]
# env:
# - name: NEXTCLOUD_UPDATE
# value: "1"
# args:
# - -c
# - "/entrypoint.sh; rsync -a -v /var/www/html/ /var/www/nextcloud"
# volumeMounts:
# - name: nextcloud-php
# mountPath: "/var/www/nextcloud"
- name: wait-for-cert
image: busybox
command:
@ -69,15 +81,6 @@ spec:
volumeMounts:
- name: etcletsencrypt
mountPath: "/etc/letsencrypt"
- name: copy-php
image: nextcloud:20-fpm
command: [ "/bin/sh" ]
args:
- -c
- "/entrypoint.sh; rsync -a -v /var/www/html/ /var/www/nextcloud"
volumeMounts:
- name: nextcloud-php
mountPath: "/var/www/nextcloud"
containers:
- name: nginx
image: nginx:1.21-alpine
@ -91,7 +94,7 @@ spec:
- name: nextcloud-php
mountPath: "/var/www/nextcloud"
- name: nextcloud
image: nextcloud:20-fpm
image: nextcloud:20.0.11-apache
ports:
- containerPort: 9000
env:
@ -144,8 +147,6 @@ metadata:
spec:
type: ClusterIP
ports:
- port: 22
name: ssh
# Required for letsencrypt
- port: 80
name: http