Skip to content

Commit 02cc598

Browse files
authored
chore: add proxy domain for excalidraw template (#517)
chore: add proxy domain for excalidraw template
2 parents b78ef42 + a562992 commit 02cc598

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

api/templates/deploy-excalidraw.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ variables:
4040
default: 80
4141
is_required: true
4242

43+
proxy_domain:
44+
type: "string"
45+
description: "Domain name for Excalidraw (optional)"
46+
default: ""
47+
is_required: false
48+
4349
execution:
4450
run:
4551
- name: "Pull Excalidraw image"
@@ -61,6 +67,14 @@ execution:
6167
restart: "unless-stopped"
6268
timeout: 120
6369

70+
- name: "Add proxy for Excalidraw"
71+
type: "proxy"
72+
properties:
73+
action: "add"
74+
domain: "{{ proxy_domain }}"
75+
port: "{{ host_port }}"
76+
timeout: 30
77+
6478
validate:
6579
- name: "Check HTTP response from Excalidraw"
6680
type: "command"

0 commit comments

Comments
 (0)