add hedgedoc
Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
d4f0396eca
commit
e53e349413
14 changed files with 406 additions and 0 deletions
35
hedgedoc/virtualservice.yaml
Normal file
35
hedgedoc/virtualservice.yaml
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
apiVersion: networking.istio.io/v1beta1
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
name: hedgedoc
|
||||
namespace: hedgedoc
|
||||
spec:
|
||||
hosts:
|
||||
- hdoc.gwg313.xyz
|
||||
gateways:
|
||||
- hedgedoc-gateway
|
||||
http:
|
||||
- match:
|
||||
- uri:
|
||||
prefix: /api/
|
||||
- uri:
|
||||
prefix: /realtime
|
||||
- uri:
|
||||
prefix: /uploads/
|
||||
- uri:
|
||||
prefix: /public/
|
||||
- uri:
|
||||
prefix: /apidoc/
|
||||
route:
|
||||
- destination:
|
||||
host: hedgedoc-backend
|
||||
port:
|
||||
number: 3000
|
||||
- match:
|
||||
- uri:
|
||||
prefix: /
|
||||
route:
|
||||
- destination:
|
||||
host: hedgedoc-frontend
|
||||
port:
|
||||
number: 80
|
||||
Loading…
Add table
Add a link
Reference in a new issue