Skip to content

Commit d5f112d

Browse files
committed
Update docker compose
1 parent db8e08f commit d5f112d

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

docker-compose.yaml

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,28 @@ services:
66
POSTGRES_DB: appclacks
77
POSTGRES_USER: appclacks
88
POSTGRES_PASSWORD: appclacks
9-
jaeger:
10-
image: "jaegertracing/jaeger:2.2.0"
9+
healthcheck:
10+
test: ["CMD-SHELL", "pg_isready"]
11+
interval: 10s
12+
timeout: 5s
13+
retries: 5
14+
# uncomment to add jaeger support
15+
# jaeger:
16+
# image: "jaegertracing/jaeger:2.2.0"
17+
# network_mode: "host"
18+
maizai:
19+
image: "appclacks/maizai:latest"
1120
network_mode: "host"
21+
depends_on:
22+
postgres:
23+
condition: service_healthy
24+
environment:
25+
MAIZAI_POSTGRESQL_USERNAME: appclacks
26+
MAIZAI_POSTGRESQL_PASSWORD: appclacks
27+
MAIZAI_POSTGRESQL_DATABASE: appclacks
28+
MAIZAI_POSTGRESQL_HOST: 127.0.0.1
29+
MAIZAI_POSTGRESQL_PORT: 5432
30+
MAIZAI_POSTGRESQL_SSL_MODE: "disable"
31+
# You should configure an AI provider: MAIZAI_ANTHROPIC_API_KEY for Anthropic, MAIZAI_MISTRAL_API_KEY for Mistral
32+
# uncomment for tracing support
33+
# OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: http://localhost:4318/v1/traces

0 commit comments

Comments
 (0)