This repository was archived by the owner on May 26, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprocess-compose.yaml
More file actions
82 lines (77 loc) · 2.06 KB
/
process-compose.yaml
File metadata and controls
82 lines (77 loc) · 2.06 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
version: "1.0"
theme: "Catppuccin Macchiato"
processes:
world_deployer:
command: "pnpm world:restart"
working_dir: "."
readiness_probe:
exec:
command: "pnpm test:world-node"
initial_delay_seconds: 5
interval_seconds: 2
timeout_seconds: 1
failure_threshold: 3
availability:
restart: "no"
exit_on_failure: true
stop_command: "pnpm world:down"
local_world_node:
command: "pnpm fork:world-node:local"
working_dir: "./packages/contracts"
depends_on:
world_deployer:
condition: process_completed_successfully # Anvil starts only after 'world' is finalized
readiness_probe:
exec:
command: "pnpm test:world-node:local"
initial_delay_seconds: 5
interval_seconds: 2
timeout_seconds: 1
failure_threshold: 3
availability:
restart: "always"
backoff_seconds: 1
max_restarts: 3
exit_on_failure: true
initial_contracts_deploy:
command: "pnpm deploy:local"
working_dir: "./packages/contracts"
depends_on:
local_world_node:
condition: process_healthy
availability:
restart: "no"
exit_on_failure: true
contracts_watch:
command: "pnpm deploy:dev"
working_dir: "./packages/contracts"
depends_on:
initial_contracts_deploy:
condition: process_completed_successfully
availability:
restart: "always"
backoff_seconds: 1
max_restarts: 0
exit_on_failure: false
client_watch:
command: "pnpm run dev"
working_dir: "./packages/client"
depends_on:
initial_contracts_deploy:
condition: process_completed_successfully
contracts_watch:
condition: process_started
availability:
restart: "always"
backoff_seconds: 1
max_restarts: 0
exit_on_failure: false
test_run:
command: "pnpm test"
working_dir: "./packages/contracts"
depends_on:
initial_contracts_deploy:
condition: process_completed_successfully
availability:
restart: "no"
exit_on_failure: false