Newer
Older
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
version: "3.9"
volumes:
postgres-server-volume:
services:
postgres-service:
image: postgres:12.9
container_name: postgres-service
ports:
- 5433:5432
volumes:
- postgres-server-volume:/var/lib/postgresql/data
networks:
- distribuida-network
environment:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
balance-service:
container_name: balance-service
build:
context: ./balance
dockerfile: ./Dockerfile
ports:
- 8080:8080
networks:
- distribuida-network
depends_on:
- postgres-service
deposit-service:
container_name: deposit-service
build:
context: ./deposit
dockerfile: ./Dockerfile
ports:
- 8081:8081
networks:
- distribuida-network
depends_on:
- postgres-service
transfer-service:
container_name: transfer-service
build:
context: ./deposit
dockerfile: ./Dockerfile
ports:
- 8082:8082
networks:
- distribuida-network
depends_on:
- postgres-service
withdrawal-service:
container_name: withdrawal-service
build:
context: ./withdrawal
dockerfile: ./Dockerfile
ports:
- 8083:8083
networks:
- distribuida-network
depends_on:
- postgres-service
networks:
distribuida-network:
driver: bridge