-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
89 lines (83 loc) · 2.13 KB
/
docker-compose.yml
File metadata and controls
89 lines (83 loc) · 2.13 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
services:
postgresql:
container_name: postgresql
image: postgres:alpine
restart: unless-stopped
deploy:
resources:
limits:
cpus: 0.25
memory: "128M"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgrespw
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
jaeger-service:
container_name: jaeger-service
image: jaegertracing/all-in-one:latest
restart: unless-stopped
deploy:
resources:
limits:
cpus: 0.25
memory: "64M"
ports:
- "16686:16686" # Jaeger UI
- "14268:14268" # Receive legacy OpenTracing traces, optional
- "4317:4317" # OTLP gRPC receiver
- "4318:4318" # OTLP HTTP receiver, not yet used by Quarkus, optional
- "14250:14250" # Receive from external otel-collector, optional
environment:
COLLECTOR_OTLP_ENABLED: true
frontend-service:
container_name: frontend-service
build:
context: ./authentication_page_service
dockerfile: Dockerfile
restart: unless-stopped
environment:
PWD_SERVICE: http://auth-service:8080
APP_SERVICE_URL: https://www.microsoft.com
ports:
- "3000:3000"
pwd-hashing-service:
container_name: pwd-hashing-service
build:
context: ./hashing_service
dockerfile: Dockerfile
restart: unless-stopped
deploy:
resources:
limits:
cpus: 0.15
memory: "16M"
environment:
RUST_BACKTRACE: 1
OTLP_ENDPOINT: http://jaeger-service:4317
PORT: "8820"
ports:
- "8820:8820"
auth-service:
container_name: auth-service
build:
context: ./jwt_authentication_service
dockerfile: ./src/main/docker/Dockerfile
restart: unless-stopped
deploy:
resources:
limits:
cpus: 0.25
memory: "64M"
environment:
DB_USERNAME: postgres
DB_PASSWORD: postgrespw
DB_HOST: postgresql
SALT_SERVICE: http://pwd-hashing-service:8820
OTLP_ENDPOINT: http://jaeger-service:4317
ports:
- "8810:8810"
volumes:
postgres_data: