-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
69 lines (63 loc) · 1.32 KB
/
docker-compose.yaml
File metadata and controls
69 lines (63 loc) · 1.32 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
version: '3.9'
services:
auth-service:
build:
context: src
args:
VERSION: '1.0.0.0'
FRONT_API_URL: 'http://localhost:7000/'
dockerfile: authorization/Dockerfile
ports:
- "7000:80"
environment:
- ASPNETCORE_ENVIRONMENT=Docker
- EVENT_TRIANGLE_AD_CLIENT_SECRET=${EVENT_TRIANGLE_AD_CLIENT_SECRET}
depends_on:
- db
consumer-service:
build:
context: src
args:
VERSION: '1.0.0.0'
dockerfile: consumer/Dockerfile
ports:
- "7001:80"
environment:
- ASPNETCORE_ENVIRONMENT=Docker
depends_on:
- db
- rabbit
sender-service:
build:
context: src
args:
VERSION: '1.0.0.0'
dockerfile: sender/Dockerfile
ports:
- "7002:80"
- "7005:81"
environment:
- ASPNETCORE_ENVIRONMENT=Docker
depends_on:
- db
- rabbit
db:
image: postgres:latest
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
container_name: pgsql-db
rabbit:
image: rabbitmq:3-management
environment:
- RABBITMQ_DEFAULT_USER=guest
- RABBITMQ_DEFAULT_PASS=guest
ports:
- "15672:15672"
volumes:
pgdata: