An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: volume name
Andras Bacsaic084b22815eb
diff --git a/src/routes/services/[id]/languagetool/start.json.ts b/src/routes/services/[id]/languagetool/start.json.tsindex 95f6e9c47a..cb03739d0e 100644--- a/src/routes/services/[id]/languagetool/start.json.ts+++ b/src/routes/services/[id]/languagetool/start.json.ts@@ -38,11 +38,18 @@ export const post: RequestHandler = async (event) => {}},volumes: {- [`${id}-ngrams`]: {}+ [`${id}-ngrams`]: {+ external: true+ }}};const composeFileDestination = `${workdir}/docker-compose.yaml`;await fs.writeFile(composeFileDestination, yaml.dump(composeFile));+ try {+ await asyncExecShell(`DOCKER_HOST=${host} docker volume create ${id}-ngrams`);+ } catch (error) {+ console.log(error);+ }try {await asyncExecShell(`DOCKER_HOST=${host} docker compose -f ${composeFileDestination} up -d`);