-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
74 lines (72 loc) · 1.85 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
services:
postgresql:
image: docker.io/library/postgres:17.0@sha256:f176fef320ed02c347e9f85352620945547a9a23038f02b57cf7939a198182ae
restart: unless-stopped
deploy:
resources:
limits:
memory: 1g
reservations:
memory: 1g
ipc: private
security_opt:
- "no-new-privileges:true"
privileged: false
environment:
# kics-scan ignore-line
POSTGRES_PASSWORD: postgres
POSTGRES_DB: vfps
ports:
- "127.0.0.1:35432:5432"
jaeger:
image: docker.io/jaegertracing/all-in-one:1.59.0@sha256:e369bd9a8e4a212bfed67aaff59b77ce0676df32828aaccca468a866efcb732b
restart: unless-stopped
deploy:
resources:
limits:
memory: 1g
reservations:
memory: 1g
cap_drop:
- ALL
ipc: none
security_opt:
- "no-new-privileges:true"
privileged: false
profiles:
- jaeger
ports:
- "6831:6831/udp"
- "127.0.0.1:16686:16686"
vfps:
image: ghcr.io/miracum/vfps:${VFPS_IMAGE_TAG:-v1.3.5} # x-release-please-version
restart: unless-stopped
deploy:
resources:
limits:
memory: 128m
cpus: "1"
reservations:
memory: 128m
cpus: "1"
ipc: none
cap_drop:
- ALL
read_only: true
privileged: false
security_opt:
- "no-new-privileges:true"
profiles:
- test
environment:
COMPlus_EnableDiagnostics: "0"
ForceRunDatabaseMigrations: "true"
ConnectionStrings__PostgreSQL: "Host=postgresql:5432;Database=vfps;Timeout=60;Max Auto Prepare=5;Application Name=vfps;Maximum Pool Size=50;"
PGUSER: postgres
# kics-scan ignore-line
PGPASSWORD: postgres
ports:
# Http1, Http2, Http3
- "127.0.0.1:8080:8080"
# Http2-only for plaintext gRPC
- "127.0.0.1:8081:8081"