From 9a9fa3c7165bf95ceec9c5226c53d48bc8d7d42f Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 16 Feb 2024 10:46:36 +0000 Subject: [PATCH] Updating CouchDB with the Budi CLI, making sure the service is always up to date, as well as removing pull policy. --- hosting/docker-compose.yaml | 1 - packages/cli/src/hosting/update.ts | 7 ++++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hosting/docker-compose.yaml b/hosting/docker-compose.yaml index 36b88466fe..a72b36aef1 100644 --- a/hosting/docker-compose.yaml +++ b/hosting/docker-compose.yaml @@ -98,7 +98,6 @@ services: couchdb-service: restart: unless-stopped image: budibase/couchdb - pull_policy: always environment: - COUCHDB_PASSWORD=${COUCH_DB_PASSWORD} - COUCHDB_USER=${COUCH_DB_USER} diff --git a/packages/cli/src/hosting/update.ts b/packages/cli/src/hosting/update.ts index ca0ecce615..cf70140224 100644 --- a/packages/cli/src/hosting/update.ts +++ b/packages/cli/src/hosting/update.ts @@ -13,7 +13,12 @@ import { COMPOSE_PATH } from "./makeFiles" import { info, success } from "../utils" import { start } from "./start" -const BB_COMPOSE_SERVICES = ["app-service", "worker-service", "proxy-service"] +const BB_COMPOSE_SERVICES = [ + "app-service", + "worker-service", + "proxy-service", + "couchdb-service", +] const BB_SINGLE_SERVICE = ["budibase"] export async function update() {