forked from supaglue-labs/supaglue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.watch.yml
49 lines (48 loc) · 1.25 KB
/
docker-compose.override.watch.yml
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
services:
api:
image: !reset
volumes: !reset []
build:
context: .
dockerfile: ./apps/api/Dockerfile.dev
working_dir: /workspace
develop:
watch:
- action: sync
path: ./apps/api
target: /workspace/apps/api
ignore:
- node_modules/
- action: sync
path: ./packages
target: /workspace/packages
- action: sync
path: ./openapi
target: /workspace/openapi
- action: rebuild
path: package.json
- action: rebuild
path: ./apps/api/package.json
command: /bin/sh -c "yarn workspace api start"
sync-worker:
image: !reset
volumes: !reset []
build:
context: .
dockerfile: ./apps/sync-worker/Dockerfile.dev
working_dir: /workspace
develop:
watch:
- action: sync
path: ./apps/sync-worker
target: /workspace/apps/sync-worker
ignore:
- node_modules/
- action: sync
path: ./packages
target: /workspace/packages
- action: rebuild
path: package.json
- action: rebuild
path: ./apps/sync-worker/package.json
command: /bin/sh -c "yarn workspace sync-worker start"