From cca6d18af44972f3b71349452923342486acf537 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Sun, 30 Jan 2022 21:25:56 +0100 Subject: [PATCH] point to MinIO instance instead of through proxy --- hosting/.env | 2 +- packages/builder/cypress/setup.js | 2 +- packages/server/scripts/dev/manage.js | 2 +- packages/worker/scripts/dev/manage.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hosting/.env b/hosting/.env index 3173be43b1..39df76d01e 100644 --- a/hosting/.env +++ b/hosting/.env @@ -1,4 +1,4 @@ -i# Use the main port in the builder for your self hosting URL, e.g. localhost:10000 +# Use the main port in the builder for your self hosting URL, e.g. localhost:10000 MAIN_PORT=10000 # This section contains all secrets pertaining to the system diff --git a/packages/builder/cypress/setup.js b/packages/builder/cypress/setup.js index 022b134e2f..a6e1220fd4 100644 --- a/packages/builder/cypress/setup.js +++ b/packages/builder/cypress/setup.js @@ -18,7 +18,7 @@ process.env.COUCH_URL = `leveldb://${tmpdir}/.data/` process.env.SELF_HOSTED = 1 process.env.WORKER_URL = "http://localhost:10002/" process.env.APPS_URL = `http://localhost:${MAIN_PORT}/` -process.env.MINIO_URL = `http://localhost:${MAIN_PORT}/minio` +process.env.MINIO_URL = `http://localhost:4004` process.env.MINIO_ACCESS_KEY = "budibase" process.env.MINIO_SECRET_KEY = "budibase" process.env.COUCH_DB_USER = "budibase" diff --git a/packages/server/scripts/dev/manage.js b/packages/server/scripts/dev/manage.js index 1e1a114497..fa09a7d8c9 100644 --- a/packages/server/scripts/dev/manage.js +++ b/packages/server/scripts/dev/manage.js @@ -36,7 +36,7 @@ async function init() { if (!fs.existsSync(envFilePath)) { const envFileJson = { PORT: 4001, - MINIO_URL: "http://localhost:10000/", + MINIO_URL: "http://localhost:4004", COUCH_DB_URL: "http://budibase:budibase@localhost:10000/db/", REDIS_URL: "localhost:6379", WORKER_URL: "http://localhost:4002", diff --git a/packages/worker/scripts/dev/manage.js b/packages/worker/scripts/dev/manage.js index 179167883f..34a2b7da06 100644 --- a/packages/worker/scripts/dev/manage.js +++ b/packages/worker/scripts/dev/manage.js @@ -15,7 +15,7 @@ async function init() { MINIO_SECRET_KEY: "budibase", REDIS_URL: "localhost:6379", REDIS_PASSWORD: "budibase", - MINIO_URL: "http://localhost:10000/", + MINIO_URL: "http://localhost:4004", COUCH_DB_URL: "http://budibase:budibase@localhost:10000/db/", COUCH_DB_USERNAME: "budibase", COUCH_DB_PASSWORD: "budibase",