Repository navigation
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (51 loc) · 1.54 KB
/
Copy pathdocker-compose.yml
File metadata and controls
51 lines (51 loc) · 1.54 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
name: brickie
services:
postgres:
image: postgres:17
command: postgres -c 'max_connections=200'
restart: always
environment:
POSTGRES_USER: hatchet
POSTGRES_PASSWORD: hatchet
POSTGRES_DB: hatchet
volumes:
- brickie_postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -d hatchet -U hatchet"]
interval: 10s
timeout: 10s
retries: 5
start_period: 10s
hatchet:
image: ghcr.io/hatchet-dev/hatchet/hatchet-lite:v0.110.5
ports:
- "127.0.0.1:8888:8888"
- "${BRICKIE_HATCHET_BIND:-127.0.0.1}:7077:7077"
depends_on:
postgres:
condition: service_healthy
environment:
DATABASE_URL: "postgresql://hatchet:hatchet@postgres:5432/hatchet?sslmode=disable"
SERVER_AUTH_COOKIE_DOMAIN: localhost
SERVER_AUTH_COOKIE_INSECURE: "t"
SERVER_GRPC_BIND_ADDRESS: "0.0.0.0"
SERVER_GRPC_INSECURE: "t"
SERVER_GRPC_BROADCAST_ADDRESS: localhost:7077
SERVER_GRPC_PORT: "7077"
SERVER_URL: http://localhost:8888
SERVER_AUTH_SET_EMAIL_VERIFIED: "t"
SERVER_GRPC_OPERATORS_ENABLED: "t"
SERVER_ENABLE_WORKER_RETENTION: "t"
SERVER_INTERNAL_CLIENT_INTERNAL_GRPC_BROADCAST_ADDRESS: localhost:7077
healthcheck:
test:
["CMD-SHELL", "wget -q -O- http://localhost:8888/api/ready || exit 1"]
interval: 5s
timeout: 5s
retries: 20
start_period: 10s
volumes:
- brickie_hatchet_config:/config
volumes:
brickie_postgres_data:
brickie_hatchet_config: