-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevhost.toml
More file actions
37 lines (30 loc) · 842 Bytes
/
Copy pathdevhost.toml
File metadata and controls
37 lines (30 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name = "devhost"
[caddy.global]
http = true
httpPort = 80
bindHost = "0.0.0.0"
[devtools.shortcuts]
restartServices = "alt+ctrl+r"
[services.storybook]
primary = true
command = ["sh", "-c", "exec ./node_modules/.bin/storybook dev --ci --port \"$PORT\""]
cwd = "packages/devhost-ui"
port = "auto"
host = "{{ env.DEVHOST_STORYBOOK }}"
[services.storybook.env]
__VITE_ADDITIONAL_SERVER_ALLOWED_HOSTS = "{{ env.DEVHOST_STORYBOOK }}"
[services.playground-backend]
command = ["bun", "run", "dev"]
cwd = "packages/playground/backend"
port = "auto"
host = "{{ env.DEVHOST_PLAYGROUND }}"
path = "/api/*"
[services.playground-frontend]
command = ["bun", "run", "dev"]
cwd = "packages/playground/frontend"
port = "auto"
host = "{{ env.DEVHOST_PLAYGROUND }}"
path = "/"
watch = ["src/"]
[services.playground-frontend.env]
NODE_ENV = "development"