lab3: second tiny fix

This commit is contained in:
yurtaev.va
2026-10-23 19:29:40 +03:00
parent 3a3302c5b4
commit 088961a433
24 changed files with 477 additions and 134 deletions
+4 -4
View File
@@ -38,10 +38,10 @@ services:
cpus: "0.75"
memory: 256M
lb:
image: nginx:1.27.5-alpine
image: haproxy:3.2.6-alpine
configs:
- source: lab3_nginx_conf
target: /etc/nginx/nginx.conf
- source: lab3_haproxy_conf
target: /usr/local/etc/haproxy/haproxy.cfg
networks: [data]
ports:
- target: 8080
@@ -64,5 +64,5 @@ secrets:
lab3_db_password:
external: true
configs:
lab3_nginx_conf:
lab3_haproxy_conf:
external: true