- Replaced `easymapping` configuration with `containers` for better maintainability and clarity. - Introduced `DockerComposeFixture` class in `utils.py` to manage Docker Compose lifecycle and smart build strategy. - Enhanced YAML-to-environment variable conversion in `ContainerEnv` for dynamic configuration support. - Updated HAProxy configurations and test fixtures to reflect the new format. - Improved test coverage for YAML parsing, environment variable handling, and HAProxy config generation.
27 lines
473 B
YAML
27 lines
473 B
YAML
stats:
|
|
username: admin
|
|
password: test123
|
|
port: 1936 # Optional (default 1936)
|
|
|
|
customerrors: true # Optional (default false)
|
|
|
|
certbot:
|
|
email: test@example.com
|
|
|
|
containers:
|
|
"host1.com.br:80":
|
|
ip: ["container:5000"]
|
|
certbot: true
|
|
|
|
"host2.com.br:80":
|
|
ip: ["other:3000"]
|
|
|
|
"www.host1.com.br:80":
|
|
redirect: "http://host1.com.br"
|
|
|
|
"host1.com.br:443":
|
|
ip: ["container:80"]
|
|
ssl: true
|
|
|
|
"host3.com.br:8080":
|
|
ip: ["domain:8181"]
|