-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy pathprocess-compose-example.yml
50 lines (47 loc) · 1.13 KB
/
process-compose-example.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
50
version: "0.5"
log_level: debug
processes:
frontend:
working_dir: "frontend"
command: "yarn run dev"
availability:
restart: "on_failure"
readiness_probe:
http_get:
host: 127.0.0.1
scheme: http
path: "/"
port: 3000
timeout_seconds: 10
failure_threshold: 999
period_seconds: 10
backend:
working_dir: "backend"
command: "pipenv run gunicorn -k bracket.uvicorn.RestartableUvicornWorker bracket.app:app --bind localhost:8400 --workers 1 --reload"
availability:
restart: "on_failure"
environment:
- "ENVIRONMENT=DEVELOPMENT"
readiness_probe:
http_get:
host: 127.0.0.1
scheme: http
path: "/ping"
port: 8400
timeout_seconds: 10
failure_threshold: 999
period_seconds: 10
docs:
working_dir: "docs"
command: "yarn run docusaurus start -p 3001"
availability:
restart: "on_failure"
readiness_probe:
http_get:
host: 127.0.0.1
scheme: http
path: "/"
port: 3001
timeout_seconds: 10
failure_threshold: 999
period_seconds: 10