summaryrefslogtreecommitdiffstats
path: root/ui/stack.prod.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'ui/stack.prod.yaml')
-rw-r--r--ui/stack.prod.yaml54
1 files changed, 0 insertions, 54 deletions
diff --git a/ui/stack.prod.yaml b/ui/stack.prod.yaml
deleted file mode 100644
index ca4e1a7d..00000000
--- a/ui/stack.prod.yaml
+++ /dev/null
@@ -1,54 +0,0 @@
----
-apiVersion: apps/v1
-kind: Deployment
-metadata:
- name: lemmy-ui--prod
-spec:
- selector:
- matchLabels:
- app: lemmy-ui--prod
- template:
- metadata:
- labels:
- app: lemmy-ui--prod
- spec:
- containers:
- - name: lemmy-ui--prod
- image: registry.gitlab.com/pojntfx/lemmy/ui.prod
- resources:
- limits:
- memory: 1024Mi
- cpu: 512m
- ports:
- - containerPort: 4444
----
-apiVersion: v1
-kind: Service
-metadata:
- name: lemmy-ui--prod
-spec:
- selector:
- app: lemmy-ui--prod
- ports:
- - port: 5000
- targetPort: 5000
----
-apiVersion: extensions/v1beta1
-kind: Ingress
-metadata:
- name: lemmy-server--prod
- annotations:
- traefik.ingress.kubernetes.io/request-modifier: "ReplacePathRegex: ^/static/(.*) /$1"
-spec:
- rules:
- - host: dev.lemmy.local
- http:
- paths:
- - path: /
- backend:
- serviceName: lemmy-ui--prod
- servicePort: 5000
- - path: /api/v1/ws
- backend:
- serviceName: lemmy-server--prod
- servicePort: 8536