-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
83 lines (79 loc) · 2.53 KB
/
Copy pathdocker-compose.yml
File metadata and controls
83 lines (79 loc) · 2.53 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
83
services:
postgres:
image: timescale/timescaledb:latest-pg18
restart: unless-stopped
environment:
POSTGRES_USER: growthhog
POSTGRES_PASSWORD: growthhog
POSTGRES_DB: growthhog
ports:
# Host port is parameterized so `pnpm bootstrap` can remap on conflict.
- "${POSTGRES_PORT:-5434}:5432"
volumes:
- pgdata:/home/postgres/pgdata/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U growthhog"]
interval: 5s
timeout: 5s
retries: 5
redis:
image: redis:8-alpine
restart: unless-stopped
ports:
- "${REDIS_PORT:-6380}:6379"
volumes:
- redisdata:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 5s
retries: 5
hatchet-postgres:
image: postgres:15
restart: unless-stopped
environment:
POSTGRES_USER: hatchet
POSTGRES_PASSWORD: hatchet
POSTGRES_DB: hatchet
volumes:
- hatchetpgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U hatchet"]
interval: 5s
timeout: 5s
retries: 5
hatchet-lite:
# Journey replay-safety Layer 1 (the durable `memo` fast path) is only active
# on engine >= v0.80.0 (DURABLE_EVICTION); below that, `memo` silently
# no-ops. PINNED to v0.84.0 (>= v0.80.0) so Layer 1's durability is
# GUARANTEED, not left to drift on a floating `:latest`. The
# version-independent Layer 2 (the Postgres email_sends/user_events/
# connector_deliveries unique-index dedup) remains the authoritative
# exactly-once guarantee regardless of the engine tag.
image: ghcr.io/hatchet-dev/hatchet/hatchet-lite:v0.84.0
restart: unless-stopped
depends_on:
hatchet-postgres:
condition: service_healthy
ports:
- "${HATCHET_DASHBOARD_PORT:-8888}:8888"
- "${HATCHET_GRPC_PORT:-7077}:7077"
environment:
DATABASE_URL: postgresql://hatchet:hatchet@hatchet-postgres:5432/hatchet?sslmode=disable
SERVER_URL: http://localhost:${HATCHET_DASHBOARD_PORT:-8888}
SERVER_AUTH_COOKIE_DOMAIN: localhost
SERVER_AUTH_COOKIE_INSECURE: "true"
SERVER_AUTH_SET_EMAIL_VERIFIED: "true"
SERVER_DEFAULT_ENGINE_VERSION: V1
SERVER_GRPC_BIND_ADDRESS: 0.0.0.0
SERVER_GRPC_PORT: "7077"
SERVER_GRPC_INSECURE: "true"
SERVER_GRPC_BROADCAST_ADDRESS: localhost:${HATCHET_GRPC_PORT:-7077}
SERVER_MSGQUEUE_KIND: postgres
volumes:
- hatchetdata:/app/config
volumes:
pgdata:
redisdata:
hatchetpgdata:
hatchetdata: