donetick
This commit is contained in:
parent
882acbabfc
commit
119458f8f2
3 changed files with 128 additions and 0 deletions
121
donetick/donetick.yaml
Normal file
121
donetick/donetick.yaml
Normal file
|
|
@ -0,0 +1,121 @@
|
||||||
|
# ================================
|
||||||
|
# DONETICK - CHORE & TASK TRACKER
|
||||||
|
# https://github.com/donetick/donetick
|
||||||
|
# ================================
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolume
|
||||||
|
metadata:
|
||||||
|
name: donetick-pv
|
||||||
|
spec:
|
||||||
|
capacity:
|
||||||
|
storage: 1Gi
|
||||||
|
volumeMode: Filesystem
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
persistentVolumeReclaimPolicy: Retain
|
||||||
|
storageClassName: donetick-local-storage
|
||||||
|
local:
|
||||||
|
path: /home/kimjunte/k8s_storage/donetick
|
||||||
|
nodeAffinity:
|
||||||
|
required:
|
||||||
|
nodeSelectorTerms:
|
||||||
|
- matchExpressions:
|
||||||
|
- key: kubernetes.io/hostname
|
||||||
|
operator: In
|
||||||
|
values:
|
||||||
|
- mist
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: donetick-pvc
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
storageClassName: donetick-local-storage
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: donetick
|
||||||
|
labels:
|
||||||
|
app: donetick
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: donetick
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: donetick
|
||||||
|
spec:
|
||||||
|
nodeSelector:
|
||||||
|
kubernetes.io/hostname: mist
|
||||||
|
containers:
|
||||||
|
- name: donetick
|
||||||
|
image: donetick/donetick:latest
|
||||||
|
ports:
|
||||||
|
- containerPort: 2021
|
||||||
|
env:
|
||||||
|
- name: DT_ENV
|
||||||
|
value: "selfhosted"
|
||||||
|
- name: DT_SQLITE_PATH
|
||||||
|
value: "/donetick-data/donetick.db"
|
||||||
|
- name: TZ
|
||||||
|
value: "America/Toronto"
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: "100m"
|
||||||
|
memory: "128Mi"
|
||||||
|
limits:
|
||||||
|
cpu: "500m"
|
||||||
|
memory: "256Mi"
|
||||||
|
volumeMounts:
|
||||||
|
- name: donetick-data
|
||||||
|
mountPath: /donetick-data
|
||||||
|
- name: donetick-data
|
||||||
|
mountPath: /config
|
||||||
|
subPath: config
|
||||||
|
volumes:
|
||||||
|
- name: donetick-data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: donetick-pvc
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: donetick
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: donetick
|
||||||
|
ports:
|
||||||
|
- port: 2021
|
||||||
|
targetPort: 2021
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: traefik.containo.us/v1alpha1
|
||||||
|
kind: IngressRoute
|
||||||
|
metadata:
|
||||||
|
name: donetick-ingressroute
|
||||||
|
spec:
|
||||||
|
entryPoints:
|
||||||
|
- websecure
|
||||||
|
routes:
|
||||||
|
- match: Host(`donetick.juntekim.com`)
|
||||||
|
kind: Rule
|
||||||
|
services:
|
||||||
|
- name: donetick
|
||||||
|
port: 2021
|
||||||
|
tls:
|
||||||
|
certResolver: myresolver
|
||||||
|
domains:
|
||||||
|
- main: donetick.juntekim.com
|
||||||
|
|
@ -25,3 +25,4 @@
|
||||||
- [ ] Pandas textbook
|
- [ ] Pandas textbook
|
||||||
- [ ] Home Assistant docs on dashboard
|
- [ ] Home Assistant docs on dashboard
|
||||||
- [ ] Engineering Management for the Rest of Us
|
- [ ] Engineering Management for the Rest of Us
|
||||||
|
- [ ] https://docs.localstack.cloud/aws/getting-started/installation/#docker-compose
|
||||||
|
|
|
||||||
|
|
@ -100,6 +100,12 @@ const services = [
|
||||||
url: "https://traefik.mealcraft.com/dashboard/",
|
url: "https://traefik.mealcraft.com/dashboard/",
|
||||||
icon: "📊"
|
icon: "📊"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "Donetick",
|
||||||
|
description: "Chore and task tracker for managing recurring to-dos",
|
||||||
|
url: "https://donetick.juntekim.com",
|
||||||
|
icon: "✅"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "Papra",
|
name: "Papra",
|
||||||
description: "Document management and ingestion platform for organizing files",
|
description: "Document management and ingestion platform for organizing files",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue