Skip to content

Commit 5c1059a

Browse files
committed
remove watchtower update
1 parent 661509e commit 5c1059a

4 files changed

Lines changed: 1 addition & 105 deletions

File tree

‎docker-compose.yml‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ services:
1818
environment:
1919
MODULE_PORT: 3200
2020
MODULE_HOME: /home/node/module
21-
WATCHTOWER_HTTP_API_TOKEN: bugupdatetoken
22-
WATCHTOWER_CONTAINER: bug-watchtower
2321
MONGO_CONTAINER: bug-mongo
2422
DOCKER_NETWORK_NAME: bug
2523
BUG_CONTAINER: bug
@@ -28,7 +26,6 @@ services:
2826
BUG_HOST: "127.0.0.1"
2927
BUG_LOG_FOLDER: logs
3028
BUG_LOG_NAME: bug
31-
BUG_REGISTRY_FQDN: ghcr.io/bbc
3229
PORT: 3000
3330
NODE_ENV: development
3431
SESSION_SECRET: aSecretForYourSessions

‎src/server/routes/system.js‎

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@ const router = require("express").Router();
44
const asyncHandler = require("express-async-handler");
55
const systemBackup = require("@services/system-backup");
66
const systemRestore = require("@services/system-restore");
7-
const systemLogs = require("@services/system-logs");
7+
// const systemLogs = require("@services/system-logs");
88
const systemLogsPaginated = require("@services/system-logs-paginated");
99
const systemContainers = require("@services/system-containers");
1010
const systemInfo = require("@services/system-info");
1111
const hashResponse = require("@core/hash-response");
1212
const restrict = require("@middleware/restrict");
1313
const systemHostHealth = require("@services/system-hosthealth");
1414
const systemContainerHealth = require("@services/system-containerhealth");
15-
const systemUpdate = require("@services/system-update-apply");
1615
const systemSettingsGet = require("@services/system-settings-get");
1716
const systemSettingsUpdate = require("@services/system-settings-update");
1817
const dockerCleanup = require("@services/docker-cleanup");
@@ -143,26 +142,6 @@ router.get("/settings", async function (req, res, next) {
143142
});
144143
});
145144

146-
/**
147-
* @swagger
148-
* /system/update:
149-
* get:
150-
* description: Applies any downloaded system updates
151-
* tags: [system]
152-
* produces:
153-
* - application/json
154-
* responses:
155-
* '200':
156-
* description: Success
157-
*/
158-
router.get("/update", async function (req, res, next) {
159-
const result = await systemUpdate();
160-
hashResponse(res, req, {
161-
...result,
162-
status: result.error ? "failure" : "success",
163-
});
164-
});
165-
166145
/**
167146
* @swagger
168147
* /system/settings:

‎src/server/services/docker-pull.js‎

Lines changed: 0 additions & 49 deletions
This file was deleted.

‎src/server/services/system-update-apply.js‎

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)