From 119f994b501122bc23ba93f87adaa10aee04f040 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 9 Jun 2022 15:49:07 +0200 Subject: [PATCH 1/2] chore: version++ --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 860c22fb4..5dbad34ca 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "coolify", "description": "An open-source & self-hostable Heroku / Netlify alternative.", - "version": "2.9.7", + "version": "2.9.8", "license": "AGPL-3.0", "scripts": { "dev": "docker-compose -f docker-compose-dev.yaml up -d && cross-env NODE_ENV=development & svelte-kit dev --host 0.0.0.0", From 10f04d217752f427bf4920a021d2ce795023132a Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 9 Jun 2022 15:49:21 +0200 Subject: [PATCH 2/2] fix: persistent nocodb --- src/routes/services/[id]/nocodb/start.json.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/routes/services/[id]/nocodb/start.json.ts b/src/routes/services/[id]/nocodb/start.json.ts index bf3a702df..cd45a0b2b 100644 --- a/src/routes/services/[id]/nocodb/start.json.ts +++ b/src/routes/services/[id]/nocodb/start.json.ts @@ -27,6 +27,7 @@ export const post: RequestHandler = async (event) => { const config = { image: `${image}:${version}`, + volume: `${id}-nc:/usr/app/data`, environmentVariables: {} }; if (serviceSecret.length > 0) { @@ -41,6 +42,7 @@ export const post: RequestHandler = async (event) => { container_name: id, image: config.image, networks: [network], + volumes: [config.volume], environment: config.environmentVariables, restart: 'always', ...(exposePort ? { ports: [`${exposePort}:${port}`] } : {}),