-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprocess-compose.yml
More file actions
53 lines (45 loc) · 1.16 KB
/
process-compose.yml
File metadata and controls
53 lines (45 loc) · 1.16 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
51
52
53
version: "0.5"
# PolicyStack - TypeScript/Node API
# Native-first local development orchestration
environment:
- NODE_ENV=development
- TS_NODE_LOGGING=true
processes:
# ============================================================
# Development
# ============================================================
dev:
command: npm run dev
depends_on: {}
log_location: .logs/dev.log
readiness_probe:
http_get:
host: localhost
port: 3000
path: /health
initial_delay_seconds: 10
period_seconds: 5
failure_threshold: 3
build:
command: npm run build
depends_on: {}
log_location: .logs/build.log
test:
command: npm run test
depends_on: {}
log_location: .logs/test.log
lint:
command: npm run lint
depends_on: {}
log_location: .logs/lint.log
typecheck:
command: npm run typecheck
depends_on: {}
log_location: .logs/typecheck.log
# ============================================================
# Production-like
# ============================================================
start:
command: npm start
depends_on: {}
log_location: .logs/start.log