60 lines
1.7 KiB
YAML
60 lines
1.7 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
labels:
|
|
app: actual
|
|
name: actual
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: actual
|
|
strategy:
|
|
type: Recreate
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
app: actual
|
|
spec:
|
|
enableServiceLinks: false
|
|
containers:
|
|
- env:
|
|
- name: ACTUAL_OPENID_CLIENT_ID
|
|
value: "92c919af43ed3d82a9cfd281f7e16355"
|
|
- name: ACTUAL_OPENID_CLIENT_SECRET
|
|
value: "6a98e994d036d7c3fe9fecfe918aac89b072be8747cd6952dc1328c63aee9925"
|
|
- name: ACTUAL_OPENID_SERVER_HOSTNAME
|
|
value: "https://auth.martyn.berlin"
|
|
- name: ACTUAL_OPENID_AUTHORIZATION_ENDPOINT
|
|
value: "https://auth.martyn.berlin/oauth2/outhorize"
|
|
- name: ACTUAL_OPENID_TOKEN_ENDPOINT
|
|
value: "https://auth.martyn.berlin/oauth2/token"
|
|
- name: ACTUAL_OPENID_USERINFO_ENDPOINT
|
|
value: "https://auth.martyn.berlin/oauth2/userinfo"
|
|
- name: ACTUAL_OPENID_AUTH_METHOD
|
|
value: "oauth2"
|
|
image: docker.io/actualbudget/actual-server:25.9.0
|
|
imagePullPolicy: IfNotPresent
|
|
name: actual
|
|
ports:
|
|
- containerPort: 5006
|
|
name: http
|
|
protocol: TCP
|
|
resources:
|
|
requests:
|
|
cpu: 25m
|
|
memory: "920733364"
|
|
terminationMessagePath: /dev/termination-log
|
|
terminationMessagePolicy: File
|
|
volumeMounts:
|
|
- mountPath: /data
|
|
name: data
|
|
dnsPolicy: ClusterFirst
|
|
restartPolicy: Always
|
|
schedulerName: default-scheduler
|
|
terminationGracePeriodSeconds: 30
|
|
volumes:
|
|
- name: data
|
|
persistentVolumeClaim:
|
|
claimName: actual-data
|