-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (35 loc) · 858 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
37 lines (35 loc) · 858 Bytes
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
services:
postgres:
image: postgres:16
environment:
POSTGRES_USER: walletops
POSTGRES_PASSWORD: walletops
POSTGRES_DB: walletops
ports:
- "5432:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U walletops -d walletops"]
interval: 2s
timeout: 5s
retries: 15
volumes:
- pgdata:/var/lib/postgresql/data
api:
build:
context: .
dockerfile: api/Dockerfile
environment:
DATABASE_URL: postgres://walletops:walletops@postgres:5432/walletops?sslmode=disable
JWT_SECRET: dev-only-change-me
WEBHOOK_SECRET: dev-webhook-secret
AI_PROVIDER: mock
AI_API_KEY: ""
HTTP_ADDR: ":8080"
DEMO_PROCESS_DELAY_MS: "2500"
ports:
- "8080:8080"
depends_on:
postgres:
condition: service_healthy
volumes:
pgdata: