all repos — infra @ 1bb34aa4c7199826b930b947074a0699b706c18b

infrastructure manifests and setup notes

apps/miniflux/miniflux.yaml (view raw)

 1apiVersion: apps/v1
 2kind: Deployment
 3metadata:
 4  name: miniflux
 5  labels:
 6    app: miniflux
 7spec:
 8  selector:
 9    matchLabels:
10      app: miniflux
11  template:
12    metadata:
13      labels:
14        app: miniflux
15    spec:
16      containers:
17        - name: miniflux
18          image: ghcr.io/miniflux/miniflux
19          imagePullPolicy: IfNotPresent
20          ports:
21            - name: http
22              containerPort: 8080
23          env:
24            - name: POSTGRES_PASSWORD
25              valueFrom:
26                secretKeyRef:
27                  name: postgres
28                  key: postgres-password
29            - name: DATABASE_URL
30              value: "postgres://postgres:$(POSTGRES_PASSWORD)@postgres.default:5432/miniflux?sslmode=disable"
31            - name: RUN_MIGRATIONS
32              value: "1"
33            - name: CREATE_ADMIN
34              value: "1"
35            - name: ADMIN_USERNAME
36              value: icy
37            - name: ADMIN_PASSWORD
38              valueFrom:
39                secretKeyRef:
40                  name: miniflux
41                  key: password
42---
43apiVersion: v1
44kind: Service
45metadata:
46  name: miniflux
47spec:
48  selector:
49    app: miniflux
50  ports:
51    - name: http
52      port: 80
53      targetPort: 8080