commit 6e390ff8c56ff475c447cdbf1303bff167dccdf7
parent 276041b10d5e8c0a52d15fc9771d3c6f84f77e9a
Author: MTRNord <MTRNord@users.noreply.github.com>
Date: Sat, 29 Nov 2025 14:19:30 +0100
try fixing the webserver
Signed-off-by: MTRNord <MTRNord@users.noreply.github.com>
Diffstat:
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/apps/talos_cluster/bookwyrm/deployment.yaml b/apps/talos_cluster/bookwyrm/deployment.yaml
@@ -163,9 +163,11 @@ spec:
imagePullPolicy: Always
command: ["python"]
args:
- - "manage.py"
- - "runserver"
- - "0.0.0.0:8080"
+ #- "manage.py"
+ #- "runserver"
+ #- "0.0.0.0:8000"
+ - "gunicorn"
+ - "bookwyrm.wsgi:application"
resources:
requests:
cpu: 200m
@@ -277,13 +279,13 @@ spec:
value: "images/"
livenessProbe:
httpGet:
- port: 8080
+ port: 8000
path: "/"
initialDelaySeconds: 15
periodSeconds: 30
ports:
- name: bookwyrm-http
- containerPort: 8080
+ containerPort: 8000
protocol: TCP
- name: bookwyrm-celery-worker
image: ghcr.io/mtrnord/bookwyrm:v0.8.2
@@ -663,8 +665,8 @@ spec:
ports:
- name: http
protocol: TCP
- port: 8080
- targetPort: 8080
+ port: 8000
+ targetPort: 8000
---
# HTTPRoute for BookWyrm
apiVersion: gateway.networking.k8s.io/v1
@@ -686,7 +688,7 @@ spec:
value: /
backendRefs:
- name: bookwyrm
- port: 8080
+ port: 8000
timeouts:
request: 240s
backendRequest: 0s