-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
111 lines (95 loc) · 1.91 KB
/
docker-compose.yaml
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
version: "3"
services:
db:
image: postgres:9.6
environment:
POSTGRES_PASSWORD: 123
POSTGRES_USER: user
POSTGRES_DB: shop
ports:
- 5431:5432
networks:
- shop_net
rabbitmq:
image: rabbitmq:3-management
ports:
- 15672:15672
networks:
- shop_net
shop_server:
build:
dockerfile: server/Dockerfile
context: .
environment:
DB_PORT: 5432
DB_NAME: shop
DB_USER: user
DB_PASSWORD: 123
DB_HOST: db
DB_SSLMODE: disable
ports:
- 8081:8080
networks:
- shop_net
auth:
build:
dockerfile: auth/Dockerfile
context: .
environment:
DB_PORT: 5432
DB_NAME: shop
DB_USER: user
DB_PASSWORD: 123
DB_HOST: db
DB_SSLMODE: disable
GRPC_PORT: :50051
ACCESS_TOKEN_KEY: 123
CONFIRM_TOKEN_KEY: 321
RABBITMQ: amqp://guest:guest@rabbitmq:5672/
ports:
- 8082:8080
networks:
- shop_net
notifications:
build:
dockerfile: notifications/Dockerfile
context: .
environment:
RABBITMQ: amqp://guest:guest@rabbitmq:5672/
SMTP_SERVER: mock
FROM_EMAIL: test@mock
PASSWORD: 1
networks:
- shop_net
product_upload:
build:
dockerfile: product_upload/Dockerfile
context: .
environment:
RABBITMQ: amqp://guest:guest@rabbitmq:5672/
ports:
- 8083:8080
networks:
- shop_net
product_upload_inserter:
build:
dockerfile: product_upload_inserter/Dockerfile
context: .
environment:
DB_PORT: 5432
DB_NAME: shop
DB_USER: user
DB_PASSWORD: 123
DB_HOST: db
DB_SSLMODE: disable
RABBITMQ: amqp://guest:guest@rabbitmq:5672/
networks:
- shop_net
mock:
build:
dockerfile: mock/Dockerfile
context: .
networks:
- shop_net
networks:
shop_net: