-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.dev.yaml
More file actions
50 lines (47 loc) · 1.1 KB
/
Copy pathcompose.dev.yaml
File metadata and controls
50 lines (47 loc) · 1.1 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
name: restream-dev
services:
restream:
build:
context: .
target: runtime
env_file: .env
volumes:
- restream-dev-data:/data
stop_grace_period: 20s
develop:
watch:
- action: rebuild
path: ./cmd
- action: rebuild
path: ./internal
ignore:
- "**/*_test.go"
- action: rebuild
path: ./go.mod
- action: rebuild
path: ./go.sum
- action: rebuild
path: ./Dockerfile
web:
image: oven/bun:1.4.0
working_dir: /app
command: ["sh", "-c", "bun install --frozen-lockfile && exec bun run dev -- --port 5173 --strictPort"]
environment:
RESTREAM_API_TARGET: http://restream:8080
RESTREAM_WATCH_POLLING: "true"
ports:
- "5173:5173"
volumes:
- ./web:/app
- restream-dev-node-modules:/app/node_modules
depends_on:
- restream
develop:
watch:
- action: restart
path: ./web/package.json
- action: restart
path: ./web/bun.lock
volumes:
restream-dev-data:
restream-dev-node-modules: