-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
47 lines (47 loc) · 1.04 KB
/
compose.yaml
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
services:
web:
container_name: NMSUD-Form-Web
build:
context: .
dockerfile: ./scripts/docker/dev.web.Dockerfile
develop:
watch:
- action: sync
path: .
target: /usr/src/app
ignore:
- node_modules/
- action: rebuild
path: ./package.json
- action: rebuild
path: ./package-lock.json
- action: rebuild
path: ./vite.config.ts
ports:
- 3000:3000
env_file:
- .env
api:
container_name: NMSUD-Form-Api
build:
context: .
dockerfile: ./scripts/docker/dev.api.Dockerfile
develop:
watch:
- action: sync
path: .
target: /usr/src/app
ignore:
- node_modules/
- build
- dist
- action: rebuild
path: ./package.json
- action: rebuild
path: ./package-lock.json
- action: rebuild
path: ./vite.config.ts
ports:
- ${API_PORT}:${API_PORT}
env_file:
- .env