-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
62 lines (61 loc) · 1.25 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
version: '3.5'
services:
redis:
image: redis:7.0-alpine
restart: always
ports:
- "6379:6379"
networks:
- global_network
pos-postgres-write:
image: debezium/postgres:16-alpine
restart: always
environment:
POSTGRES_USER: pos_user
POSTGRES_PASSWORD: pos_password
POSTGRES_DB: pos_write_db
ports:
- "5434:5432"
networks:
- global_network
pos-postgres-read:
image: debezium/postgres:16-alpine
restart: always
environment:
POSTGRES_USER: pos_user
POSTGRES_PASSWORD: pos_password
POSTGRES_DB: pos_read_db
ports:
- "5433:5432"
networks:
- global_network
pos-debezium:
image: debezium/server
restart: always
ports:
- "6380:8080"
depends_on:
- pos-postgres-write
- redis
volumes:
- ./debezium-conf:/debezium/conf
networks:
- global_network
pos-service:
image: playofferservice
restart: always
build:
context: .
dockerfile: Dockerfile
depends_on:
- pos-postgres-write
- pos-postgres-read
ports:
- "8080:8080"
- "8082:8081"
networks:
- global_network
networks:
global_network:
name: global_network
driver: bridge