mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 09:04:12 +02:00
add dns for proxy inside container
This commit is contained in:
parent
ce34f302a1
commit
0d98667650
9 changed files with 37 additions and 12 deletions
|
|
@ -160,6 +160,11 @@ impl PhpVersion {
|
|||
proxy_config.addr(id, IpAddr::V4(Ipv4Addr::LOCALHOST))
|
||||
));
|
||||
|
||||
env.push(format!("HOST_IP={host}"));
|
||||
if !proxy_config.address.is_empty() {
|
||||
env.push(format!("PROXY_BASE={}", proxy_config.address));
|
||||
}
|
||||
|
||||
let mut labels = hashmap! {
|
||||
"haze-type".to_string() => "cloud".to_string(),
|
||||
"haze-db".to_string() => db.name().to_string(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue