feat(bot): ✨ Migrate tasks to separate containers and readd support for automatic call hangup and account deletion.

This commit is contained in:
Nyeki.py
2024-11-03 00:31:59 -03:00
parent ddd439d6d7
commit fda26d97ee
5 changed files with 78 additions and 56 deletions
+11 -1
View File
@@ -19,7 +19,7 @@ spec:
resources:
requests:
memory: "250Mib"
cpu: "1"
cpu: "100m"
limits:
memory: "1Gi"
cpu: "1"
@@ -29,7 +29,17 @@ spec:
resources:
requests:
memory: "250Mib"
cpu: "100m"
limits:
memory: "1Gi"
cpu: "1"
- name: hangup-inactive-calls
image: git.nyeki.dev/payphone/payphone-tasks:latest
command: ["uv", "run", "--no-dev", "tasks.py", "hangup-inactive-calls"]
resources:
requests:
memory: "250Mib"
cpu: "100m"
limits:
memory: "1Gi"
cpu: "1"