mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-06 10:54:48 +02:00
Merge pull request #817 from PrtmPhlp/main
docker run command in detached mode
This commit is contained in:
commit
5a71c0ba65
2 changed files with 3 additions and 3 deletions
|
@ -268,7 +268,7 @@ PersistentKeepalive = 5`
|
||||||
- NEWT_ID=${siteDefaults?.newtId}
|
- NEWT_ID=${siteDefaults?.newtId}
|
||||||
- NEWT_SECRET=${siteDefaults?.newtSecret}`;
|
- NEWT_SECRET=${siteDefaults?.newtSecret}`;
|
||||||
|
|
||||||
const newtConfigDockerRun = `docker run -it fosrl/newt --id ${siteDefaults?.newtId} --secret ${siteDefaults?.newtSecret} --endpoint ${env.app.dashboardUrl}`;
|
const newtConfigDockerRun = `docker run -dit fosrl/newt --id ${siteDefaults?.newtId} --secret ${siteDefaults?.newtSecret} --endpoint ${env.app.dashboardUrl}`;
|
||||||
|
|
||||||
return loadingPage ? (
|
return loadingPage ? (
|
||||||
<LoaderPlaceholder height="300px" />
|
<LoaderPlaceholder height="300px" />
|
||||||
|
|
|
@ -257,7 +257,7 @@ PersistentKeepalive = 5`;
|
||||||
- NEWT_SECRET=${secret}`
|
- NEWT_SECRET=${secret}`
|
||||||
],
|
],
|
||||||
"Docker Run": [
|
"Docker Run": [
|
||||||
`docker run -it fosrl/newt --id ${id} --secret ${secret} --endpoint ${endpoint}`
|
`docker run -dit fosrl/newt --id ${id} --secret ${secret} --endpoint ${endpoint}`
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
podman: {
|
podman: {
|
||||||
|
@ -280,7 +280,7 @@ Restart=always
|
||||||
WantedBy=default.target`
|
WantedBy=default.target`
|
||||||
],
|
],
|
||||||
"Podman Run": [
|
"Podman Run": [
|
||||||
`podman run -it docker.io/fosrl/newt --id ${id} --secret ${secret} --endpoint ${endpoint}`
|
`podman run -dit docker.io/fosrl/newt --id ${id} --secret ${secret} --endpoint ${endpoint}`
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue