diff --git a/hosting/docker-compose.dev.yaml b/hosting/docker-compose.dev.yaml
index 3b99ef796c..1eddbf9271 100644
--- a/hosting/docker-compose.dev.yaml
+++ b/hosting/docker-compose.dev.yaml
@@ -64,6 +64,20 @@ services:
- "${REDIS_PORT}:6379"
volumes:
- redis_data:/data
+
+ watchtower-service:
+ image: containrrr/watchtower
+ volumes:
+ - /var/run/docker.sock:/var/run/docker.sock
+ command: --debug --http-api-update budibase/apps budibase/worker
+ environment:
+ - WATCHTOWER_HTTP_API=true
+ - WATCHTOWER_HTTP_API_TOKEN=budibase
+ - WATCHTOWER_CLEANUP=true
+ labels:
+ - "com.centurylinklabs.watchtower.enable=false"
+ ports:
+ - 6161:8080
volumes:
couchdb3_data:
diff --git a/hosting/docker-compose.yaml b/hosting/docker-compose.yaml
index c672f911a2..b03b433cef 100644
--- a/hosting/docker-compose.yaml
+++ b/hosting/docker-compose.yaml
@@ -126,7 +126,7 @@ services:
labels:
- "com.centurylinklabs.watchtower.enable=false"
ports:
- - 6666:8080
+ - 6161:8080
volumes:
diff --git a/hosting/envoy.dev.yaml.hbs b/hosting/envoy.dev.yaml.hbs
index 054ceb9d3f..6a1d758895 100644
--- a/hosting/envoy.dev.yaml.hbs
+++ b/hosting/envoy.dev.yaml.hbs
@@ -132,5 +132,4 @@ static_resources:
address:
socket_address:
address: {{ address }}
- port_value: 4002
-
+ port_value: 4002
\ No newline at end of file
diff --git a/hosting/envoy.yaml b/hosting/envoy.yaml
index 6e143ac843..601506c622 100644
--- a/hosting/envoy.yaml
+++ b/hosting/envoy.yaml
@@ -140,5 +140,5 @@ static_resources:
address:
socket_address:
address: watchtower-service
- port_value: 6666
+ port_value: 6161
diff --git a/packages/builder/src/pages/builder/portal/_layout.svelte b/packages/builder/src/pages/builder/portal/_layout.svelte
index e6f7da4371..4bc0b46167 100644
--- a/packages/builder/src/pages/builder/portal/_layout.svelte
+++ b/packages/builder/src/pages/builder/portal/_layout.svelte
@@ -44,7 +44,7 @@
href: "/builder/portal/settings/theming",
},
{
- title: "Update",
+ title: "Updates",
href: "/builder/portal/settings/update",
},
])
diff --git a/packages/builder/src/pages/builder/portal/settings/organisation.svelte b/packages/builder/src/pages/builder/portal/settings/organisation.svelte
index 9cb448fb17..f8f4c8a7dd 100644
--- a/packages/builder/src/pages/builder/portal/settings/organisation.svelte
+++ b/packages/builder/src/pages/builder/portal/settings/organisation.svelte
@@ -70,7 +70,6 @@
loading = false
}
-
{#if $auth.isAdmin}
diff --git a/packages/builder/src/pages/builder/portal/settings/update.svelte b/packages/builder/src/pages/builder/portal/settings/update.svelte
index a0eaa987cd..5835f9d0dc 100644
--- a/packages/builder/src/pages/builder/portal/settings/update.svelte
+++ b/packages/builder/src/pages/builder/portal/settings/update.svelte
@@ -27,17 +27,16 @@
async function updateBudibase() {
try {
notifications.info("Updating budibase..")
- // const response = await fetch("http://localhost:6666/v1/update", {
- // headers: {
- // Authorization: "Bearer budibase"
- // }
- // })
+ const response = await fetch("/v1/update", {
+ headers: {
+ Authorization: "Bearer budibase",
+ },
+ })
notifications.success("Your budibase installation is up to date.")
} catch (err) {
notifications.error(`Error installing budibase update ${err}`)
}
}
-
{#if $auth.isAdmin}
@@ -45,15 +44,16 @@