chore: clean up environment variable usage and formatting in configuration files
- Updated docker-compose.yaml to use double quotes for version and port mappings. - Removed DEPLOYMENT_PROVIDER from global environment variables in turbo.json and Dockerfile. - Adjusted dashboard build command in package.json to remove DEPLOYMENT_PROVIDER. - Cleaned up .env.example by removing the DEPLOYMENT_PROVIDER comment. - Simplified SvelteKit adapter condition in svelte.config.js.
This commit is contained in:
@@ -1,13 +1,12 @@
|
||||
import { vitePreprocess } from '@sveltejs/kit/vite';
|
||||
import 'dotenv/config';
|
||||
|
||||
// import adapterAuto from '@sveltejs/adapter-auto';
|
||||
import adapterNode from '@sveltejs/adapter-node';
|
||||
import adapterVercel from '@sveltejs/adapter-vercel';
|
||||
import path from 'path';
|
||||
import { vitePreprocess } from '@sveltejs/kit/vite';
|
||||
|
||||
import 'dotenv/config';
|
||||
|
||||
const useNodeAdapter =
|
||||
process.env.PUBLIC_IS_SELFHOSTED === 'true' && process.env.DEPLOYMENT_PROVIDER === 'docker';
|
||||
const useNodeAdapter = process.env.PUBLIC_IS_SELFHOSTED === 'true';
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
|
||||
Reference in New Issue
Block a user