Included UI for piston

This commit is contained in:
Khwezi
2026-04-16 09:34:50 +02:00
parent be56d7a1df
commit 18bf68aee2

View File

@@ -60,6 +60,20 @@ spec:
limits:
cpu: "1"
memory: "2Gi"
- name: ui
image: thitpraphan/piston-web:latest
ports:
- containerPort: 80
env:
- name: PISTON_API_URL
value: "http://localhost:2000"
resources:
requests:
cpu: "100m"
memory: "128Mi"
limits:
cpu: "250m"
memory: "256Mi"
volumes:
- name: packages
persistentVolumeClaim:
@@ -78,5 +92,5 @@ spec:
- name: http
protocol: TCP
port: 80
targetPort: 2000
targetPort: 80
nodePort: 31003