Welcome to mirror list, hosted at ThFree Co, Russian Federation.

nginx.yaml « kubernetes - github.com/nextcloud/container.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: feb53235d4f62987f8eb7897425c2f77af24f6c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
apiVersion: v1
kind: Pod
metadata:
  name: nginx
  labels:
    name: nginx
spec:
  containers:
    - name: nginx
      image: sameersbn/owncloud:9.0.2-1
      args: ["app:nginx"]
      env:
        - name: OWNCLOUD_URL
          value: http://cloud.example.com

        - name: OWNCLOUD_PHP_FPM_HOST
          value: owncloud
        - name: OWNCLOUD_PHP_FPM_PORT
          value: "9000"

      ports:
        - name: http
          containerPort: 80
          protocol: TCP
      livenessProbe:
        httpGet:
          path: /
          port: 80
        initialDelaySeconds: 5
        timeoutSeconds: 1