Skip to content

Commit be301d9

Browse files
committed
allow docker to use docker api
1 parent 752da0e commit be301d9

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ You have complete control over your data and dashboard configuration.
2727
This only requires docker to be installed. [Install Docker](https://docs.docker.com/engine/install/). Run using `docker compose`
2828
```yaml
2929
---
30+
---
3031
services:
3132
lab-dash:
3233
container_name: lab-dash
@@ -40,6 +41,7 @@ services:
4041
- /sys:/sys:ro
4142
- /docker/lab-dash/config:/config
4243
- /docker/lab-dash/uploads:/app/public/uploads
44+
- /var/run/docker.sock:/var/run/docker.sock
4345
restart: unless-stopped
4446
labels:
4547
- "com.centurylinklabs.watchtower.enable=true"

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ services:
1212
- /sys:/sys:ro
1313
- /docker/lab-dash/config:/config
1414
- /docker/lab-dash/uploads:/app/public/uploads
15-
- /var/run/docker.sock:/var/run/docker.sock:ro
15+
- /var/run/docker.sock:/var/run/docker.sock
1616
restart: unless-stopped
1717
labels:
1818
- "com.centurylinklabs.watchtower.enable=true"

frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lab-dash-frontend",
3-
"version": "1.0.10",
3+
"version": "1.0.11",
44
"private": true,
55
"scripts": {
66
"dev": "vite --host",

frontend/src/context/AppContextProvider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const AppContextProvider = ({ children }: Props) => {
4949
await checkForAppUpdates();
5050

5151
// Set interval to check every 6 hours (6 * 60 * 60 * 1000 ms)
52-
const intervalId = setInterval(checkForAppUpdates, 6 * 60 * 60 * 1000);
52+
const intervalId = setInterval(checkForAppUpdates, 60 * 60 * 1000);
5353

5454
// Clear interval on component unmount
5555
return () => clearInterval(intervalId);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lab-dash",
3-
"version": "1.0.10",
3+
"version": "1.0.11",
44
"description": "This is an open-source user interface designed to manage your server and homelab",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)