mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
run blackfire agent in container
This commit is contained in:
parent
9cca74924d
commit
777213946d
4 changed files with 15 additions and 4 deletions
|
|
@ -251,7 +251,7 @@ impl Cloud {
|
|||
format!("GID={}", gid),
|
||||
format!("SQL={}", options.db.name()),
|
||||
];
|
||||
let mut volumes: Vec<String> = mappings
|
||||
let volumes: Vec<String> = mappings
|
||||
.into_iter()
|
||||
.filter_map(|mapping| mapping.get_volume_arg(&id, config))
|
||||
.collect();
|
||||
|
|
@ -271,8 +271,6 @@ impl Cloud {
|
|||
env.push(format!("BLACKFIRE_SERVER_TOKEN={}", blackfire.server_token));
|
||||
env.push(format!("BLACKFIRE_CLIENT_ID={}", blackfire.client_id));
|
||||
env.push(format!("BLACKFIRE_CLIENT_TOKEN={}", blackfire.client_token));
|
||||
env.push(format!("BLACKFIRE_SOCKET=/var/run/blackfire/agent.sock"));
|
||||
volumes.push("/var/run/blackfire/agent.sock:/var/run/blackfire/agent.sock".into());
|
||||
}
|
||||
|
||||
let service_containers = try_join_all(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue