Configure HAProxy stats and improve test fixture cleanup logic
- Set up HAProxy stats environment variables (`HAPROXY_USERNAME`, `HAPROXY_PASSWORD`, `HAPROXY_STATS_PORT`) for monitoring. - Updated test fixture to ensure robust cleanup with try-finally blocks.
This commit is contained in:
parent
d926cd7e69
commit
00b7bac5c0
2 changed files with 19 additions and 10 deletions
|
|
@ -94,6 +94,7 @@ services:
|
|||
|
||||
# EasyHAProxy with Certbot
|
||||
haproxy:
|
||||
image: byjg/easy-haproxy:local
|
||||
build:
|
||||
context: ../..
|
||||
dockerfile: deploy/docker/Dockerfile
|
||||
|
|
@ -111,6 +112,9 @@ services:
|
|||
environment:
|
||||
EASYHAPROXY_DISCOVER: docker
|
||||
HAPROXY_CUSTOMERRORS: "true"
|
||||
HAPROXY_USERNAME: admin
|
||||
HAPROXY_PASSWORD: password
|
||||
HAPROXY_STATS_PORT: 1936
|
||||
|
||||
# Certbot configuration pointing to Pebble
|
||||
EASYHAPROXY_CERTBOT_EMAIL: test@example.com
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue