-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (46 loc) · 1.31 KB
/
docker-compose.yml
File metadata and controls
49 lines (46 loc) · 1.31 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
services:
conductor:
build:
context: .
dockerfile: Dockerfile
ports:
- "8080:8080"
environment:
- DB_HOST=postgres
- DB_PORT=5432
- DB_USER=conductor
- DB_PASSWORD=conductor_password
- DB_NAME=conductor_db
- REDIS_URL=redis:6379
- STRIPE_API_KEY=${STRIPE_API_KEY}
- STRIPE_WEBHOOK_SECRET=${STRIPE_WEBHOOK_SECRET}
- XENDIT_API_KEY=${XENDIT_API_KEY}
- XENDIT_WEBHOOK_SECRET=${XENDIT_WEBHOOK_SECRET}
- RAZORPAY_KEY_ID=${RAZORPAY_KEY_ID}
- RAZORPAY_KEY_SECRET=${RAZORPAY_KEY_SECRET}
- RAZORPAY_WEBHOOK_SECRET=${RAZORPAY_WEBHOOK_SECRET}
- AIRWALLEX_CLIENT_ID=${AIRWALLEX_CLIENT_ID}
- AIRWALLEX_API_KEY=${AIRWALLEX_API_KEY}
- AIRWALLEX_WEBHOOK_SECRET=${AIRWALLEX_WEBHOOK_SECRET}
- AIRWALLEX_USE_SANDBOX=${AIRWALLEX_USE_SANDBOX:-true}
depends_on:
- postgres
- redis
restart: unless-stopped
postgres:
image: postgres:16-alpine
environment:
- POSTGRES_DB=conductor_db
- POSTGRES_USER=conductor
- POSTGRES_PASSWORD=conductor_password
volumes:
- postgres_data:/var/lib/postgresql/data
restart: unless-stopped
redis:
image: redis:7-alpine
volumes:
- redis_data:/data
restart: unless-stopped
volumes:
postgres_data:
redis_data: