-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
79 lines (73 loc) · 1.64 KB
/
docker-compose.yml
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
version: '3'
services:
db:
container_name: rtws-postgres
image: postgres:latest
restart: always
ports:
- "5432:5432"
env_file:
- db/.env.db
volumes:
- postgres_data:/var/lib/postgresql/data
- ./db/scripts/:/docker-entrypoint-initdb.d/
zookeeper:
image: confluentinc/cp-zookeeper:latest
container_name: rtws-zookeeper
ports:
- "22181:2181"
env_file:
- .env.kafka
mq:
image: confluentinc/cp-kafka:latest
container_name: rtws-mq
depends_on:
- zookeeper
ports:
- "29092:29092"
env_file:
- .env.kafka
postgres-to-kafka:
image: python:3-alpine
container_name: rtws-postgres-to-kafka
depends_on:
- db
- mq
# restart: always
build:
context: ./service/postgres-to-kafka
dockerfile: Dockerfile
# volumes:
# - ./service/postgres-to-kafka:/app
env_file:
- ./db/.env.db
stripe-forward-integration:
container_name: rtws-stripe-forward-integration
build:
context: .
dockerfile: service/stripe-forward-integration/Dockerfile
restart: always
depends_on:
- db
- mq
# volumes:
# - ./service/stripe-forward-integration:/app
env_file:
- service/stripe-forward-integration/.env.stripe
- ./db/.env.db
stripe-reverse-integration:
container_name: rtws-stripe-reverse-integration
build:
context: ./service/stripe-reverse-integration
dockerfile: Dockerfile
ports:
- "8080:8080"
restart: always
depends_on:
- db
env_file:
- ./db/.env.db
volumes:
postgres_data:
zookeeper_data:
zookeeper_log: