1
0
Fork 0
mirror of https://gitlab.com/shouptech/flux.git synced 2026-02-03 22:09:41 +00:00

Merge branch 'master' of ssh://gitlab.com/shouptech/flux

This commit is contained in:
Emma 2020-02-18 19:33:31 -07:00
commit 0d31951c04
No known key found for this signature in database
GPG key ID: 68434BFE85360755

View file

@ -1,3 +1,4 @@
---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
@ -16,6 +17,7 @@ spec:
app: nextcloud app: nextcloud
spec: spec:
containers: containers:
<<<<<<< HEAD
- image: nextcloud:17.0.3-apache - image: nextcloud:17.0.3-apache
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
name: nextcloud name: nextcloud
@ -58,7 +60,51 @@ spec:
- name: nextcloud-data - name: nextcloud-data
mountPath: /var/www/html mountPath: /var/www/html
volumes: volumes:
=======
- image: nextcloud:18.0.1-apache
imagePullPolicy: IfNotPresent
name: nextcloud
env:
- name: POSTGRES_DB
value: nextcloud
- name: POSTGRES_HOST
value: postgres:5432
- name: POSTGRES_USER
valueFrom:
secretKeyRef:
name: postgres
key: POSTGRES_USER
- name: POSTGRES_PASSWORD
valueFrom:
secretKeyRef:
name: postgres
key: POSTGRES_PASSWORD
- name: REDIS_HOST
value: redis
- name: REDIS_HOST_PORT
value: "6379"
resources:
requests:
memory: "1024Mi"
cpu: "100m"
limits:
memory: "4096Mi"
livenessProbe:
tcpSocket:
port: 80
initialDelaySeconds: 15
periodSeconds: 30
timeoutSeconds: 5
successThreshold: 1
failureThreshold: 2
ports:
- containerPort: 80
volumeMounts:
>>>>>>> 0f8184907bd84f04faf5546e9dfea5d04ad20df7
- name: nextcloud-data - name: nextcloud-data
hostPath: mountPath: /var/www/html
path: /opt/nextcloud/pod volumes:
type: Directory - name: nextcloud-data
hostPath:
path: /opt/nextcloud/pod
type: Directory