mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-19 11:39:36 +02:00
Update controllers/apps/docker/useDocker.js and utils/init/initialConfig.json to support the new configuration
This commit is contained in:
parent
490c109b01
commit
7d873e0240
2 changed files with 3 additions and 1 deletions
|
@ -9,6 +9,7 @@ const useDocker = async (apps) => {
|
||||||
useOrdering: orderType,
|
useOrdering: orderType,
|
||||||
unpinStoppedApps,
|
unpinStoppedApps,
|
||||||
dockerHost: host,
|
dockerHost: host,
|
||||||
|
dockerSocket: socket
|
||||||
} = await loadConfig();
|
} = await loadConfig();
|
||||||
|
|
||||||
let containers = null;
|
let containers = null;
|
||||||
|
@ -20,7 +21,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: process.env.DOCKER_SOCKET ? process.env.DOCKER_SOCKET : '/var/run/docker.sock',
|
socketPath: socket,
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
"secondarySearchProvider": "d",
|
"secondarySearchProvider": "d",
|
||||||
"dockerApps": false,
|
"dockerApps": false,
|
||||||
"dockerHost": "localhost",
|
"dockerHost": "localhost",
|
||||||
|
"dockerSocket": "/var/run/docker.sock",
|
||||||
"kubernetesApps": false,
|
"kubernetesApps": false,
|
||||||
"unpinStoppedApps": false,
|
"unpinStoppedApps": false,
|
||||||
"useAmericanDate": false,
|
"useAmericanDate": false,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue