mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2025-12-30 21:29:44 -06:00
* fix: improved queries * fix: 1s timeout * fix: indexes * fix: increase timeout to 4s * fix: migration * merge in db changes * chore: squash migrations * chore: re-hash * chore: remove comment * chore: rm unused query * fix: state * fix: check valid workers before commit * fix: query * chore: gen
38 lines
952 B
YAML
38 lines
952 B
YAML
version: "3.8"
|
|
services:
|
|
postgres:
|
|
image: postgres:15.6
|
|
command: postgres -c 'max_connections=200'
|
|
restart: always
|
|
environment:
|
|
- POSTGRES_USER=hatchet
|
|
- POSTGRES_PASSWORD=hatchet
|
|
- POSTGRES_DB=hatchet
|
|
ports:
|
|
- "5431:5432"
|
|
volumes:
|
|
- hatchet_postgres_data:/var/lib/postgresql/data
|
|
shm_size: 4g
|
|
rabbitmq:
|
|
image: "rabbitmq:3-management"
|
|
hostname: "rabbitmq"
|
|
ports:
|
|
- "5672:5672" # RabbitMQ
|
|
- "15672:15672" # Management UI
|
|
environment:
|
|
RABBITMQ_DEFAULT_USER: "user"
|
|
RABBITMQ_DEFAULT_PASS: "password"
|
|
volumes:
|
|
- "hatchet_rabbitmq_data:/var/lib/rabbitmq"
|
|
- "hatchet_rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf" # Configuration file mount
|
|
healthcheck:
|
|
test: ["CMD", "rabbitmqctl", "status"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 5
|
|
|
|
volumes:
|
|
hatchet_postgres_data:
|
|
hatchet_rabbitmq_data:
|
|
hatchet_rabbitmq.conf:
|