mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-19 11:39:36 +02:00
add possibility to use env var DOCKER_SOCKET to set docker socket path
This commit is contained in:
parent
446b4095f6
commit
b180983872
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ const useDocker = async (apps) => {
|
||||||
let { data } = await axios.get(
|
let { data } = await axios.get(
|
||||||
`http://${host}/containers/json?{"status":["running"]}`,
|
`http://${host}/containers/json?{"status":["running"]}`,
|
||||||
{
|
{
|
||||||
socketPath: '/var/run/docker.sock',
|
socketPath: process.env.DOCKER_SOCKET ? process.env.DOCKER_SOCKET : '/var/run/docker.sock',
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue