-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprocess-compose.yml
More file actions
77 lines (70 loc) · 1.62 KB
/
process-compose.yml
File metadata and controls
77 lines (70 loc) · 1.62 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
version: '0.5'
is_strict: true
processes:
seed:
namespace: toolbox
working_dir: .
command: mise seed-clickhouse
depends_on:
clickhouse:
condition: process_log_ready
clickhouse:
namespace: docker
working_dir: .
command: docker compose up clickhouse --build
ready_log_line: 'Logging errors to'
shutdown:
command: 'docker compose stop clickhouse'
availability:
restart: on_failure
liveness_probe:
exec:
command: docker compose exec clickhouse clickhouse-client --query "SELECT 1"
worker:
namespace: apps
working_dir: .
command: mise run-worker
ready_log_line: 'listening on'
is_tty: true
availability:
restart: always
depends_on:
clickhouse:
condition: process_log_ready
seed:
condition: process_completed_successfully
liveness_probe:
period_seconds: 60
http_get:
host: localhost
port: 3020
path: /healthcheck
api:
namespace: apps
working_dir: .
command: mise run-api
ready_log_line: 'listening on'
is_tty: true
availability:
restart: always
depends_on:
clickhouse:
condition: process_log_ready
seed:
condition: process_completed_successfully
liveness_probe:
period_seconds: 60
http_get:
host: localhost
port: 3010
path: /v1/healthcheck
dashboard:
namespace: apps
working_dir: .
command: mise run-dashboard
ready_log_line: 'ready in'
availability:
restart: always
depends_on:
api:
condition: process_log_ready