-
Notifications
You must be signed in to change notification settings - Fork 68
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
64 lines (59 loc) · 1.52 KB
/
docker-compose.yml
File metadata and controls
64 lines (59 loc) · 1.52 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
# Backend services for local development and Devcontainer networking.
# Start: docker compose up -d
services:
postgres:
image: postgres:16-alpine
restart: unless-stopped
ports:
- '5432:5432'
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: agenticpay
volumes:
- agenticpay-postgres:/var/lib/postgresql/data
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U postgres -d agenticpay']
interval: 5s
timeout: 5s
retries: 10
redis:
image: redis:7-alpine
restart: unless-stopped
ports:
- '6379:6379'
command: redis-server --save 60 1 --loglevel warning
volumes:
- agenticpay-redis:/data
healthcheck:
test: ['CMD', 'redis-cli', 'ping']
interval: 5s
timeout: 3s
retries: 10
loki:
image: grafana/loki:3.0.0
restart: unless-stopped
ports:
- '3100:3100'
command: -config.file=/etc/loki/local-config.yaml
volumes:
- agenticpay-loki:/loki
grafana:
image: grafana/grafana:11.0.0
restart: unless-stopped
ports:
- '3002:3000'
environment:
GF_SECURITY_ADMIN_USER: admin
GF_SECURITY_ADMIN_PASSWORD: admin
GF_USERS_ALLOW_SIGN_UP: 'false'
volumes:
- agenticpay-grafana:/var/lib/grafana
- ./infra/logging/grafana-datasources.yml:/etc/grafana/provisioning/datasources/datasources.yml:ro
depends_on:
- loki
volumes:
agenticpay-postgres:
agenticpay-redis:
agenticpay-loki:
agenticpay-grafana: