forked from mtusi2026/mtusi2026lab3
lab3: second tiny fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user