going nginx/fpm
This commit is contained in:
@@ -21,7 +21,24 @@ spec:
|
|||||||
app: nextcloud
|
app: nextcloud
|
||||||
release: latest
|
release: latest
|
||||||
spec:
|
spec:
|
||||||
|
volumes:
|
||||||
|
- name: nextcloud-nginx-site
|
||||||
|
configMap:
|
||||||
|
name: nextcloud-nginx-site
|
||||||
|
- name: www-data
|
||||||
|
emptyDir: {}
|
||||||
containers:
|
containers:
|
||||||
|
- name: nginx-proxy
|
||||||
|
image: nginx:latest
|
||||||
|
volumeMounts:
|
||||||
|
- name: nextcloud-nginx-site
|
||||||
|
mountPath: /etc/nginx/conf.d
|
||||||
|
- name: www-data
|
||||||
|
mountPath: /var/www/html
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
containerPort: 80
|
||||||
|
protocol: TCP
|
||||||
- name: nextcloud
|
- name: nextcloud
|
||||||
image: cr.lan/nextcloud:latest
|
image: cr.lan/nextcloud:latest
|
||||||
lifecycle:
|
lifecycle:
|
||||||
@@ -29,6 +46,9 @@ spec:
|
|||||||
exec:
|
exec:
|
||||||
command:
|
command:
|
||||||
- /post-start.sh
|
- /post-start.sh
|
||||||
|
volumeMounts:
|
||||||
|
- name: www-data
|
||||||
|
mountPath: /var/www/html
|
||||||
env:
|
env:
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: "Europe/Berlin"
|
value: "Europe/Berlin"
|
||||||
@@ -57,8 +77,8 @@ spec:
|
|||||||
- name: OBJECTSTORE_S3_SSL
|
- name: OBJECTSTORE_S3_SSL
|
||||||
value: "true"
|
value: "true"
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: php-fpm
|
||||||
containerPort: 80
|
containerPort: 9000
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
# startupProbe:
|
# startupProbe:
|
||||||
# httpGet:
|
# httpGet:
|
||||||
@@ -79,6 +99,7 @@ spec:
|
|||||||
limits:
|
limits:
|
||||||
memory: "768Mi"
|
memory: "768Mi"
|
||||||
cpu: "3000m"
|
cpu: "3000m"
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
Reference in New Issue
Block a user