forked from mtusi2026/mtusi2026lab7
some changes
This commit is contained in:
+6
-3
@@ -330,7 +330,10 @@ services:
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
lb:
|
||||
image: nginx:1.28-alpine
|
||||
image: haproxy:3.0.5-alpine
|
||||
user: "65534:65534"
|
||||
cap_drop: [ALL]
|
||||
security_opt: ["no-new-privileges:true"]
|
||||
ports:
|
||||
- 127.0.0.1:8443:8443
|
||||
networks:
|
||||
@@ -343,7 +346,7 @@ services:
|
||||
cpus: 0.5
|
||||
volumes:
|
||||
- .local/id/lb:/identity:ro
|
||||
- ./infra/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||
- ./infra/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
|
||||
otel-collector:
|
||||
image: otel/opentelemetry-collector-contrib:0.115.1
|
||||
command:
|
||||
@@ -438,7 +441,7 @@ services:
|
||||
- ALL
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
mem_limit: 64m
|
||||
mem_limit: 128m
|
||||
cpus: 0.25
|
||||
networks:
|
||||
local-otel-collector:
|
||||
|
||||
Reference in New Issue
Block a user