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", 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}`] } : {}),