Some checks failed
Deploy with Docker Compose / deploy (push) Failing after 1s
Remove unused uptime-kuma and wallabag services from docker-compose, nginx configs, and vite proxy. Use BASE_URL env var in searxng settings template instead of hardcoded URL. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
30 lines
797 B
JavaScript
30 lines
797 B
JavaScript
import { fileURLToPath, URL } from "node:url";
|
|
|
|
import { defineConfig } from "vite";
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
import vue from "@vitejs/plugin-vue";
|
|
import vueDevTools from "vite-plugin-vue-devtools";
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [
|
|
vue(),
|
|
...(process.env.NODE_ENV !== "production" ? [vueDevTools()] : []),
|
|
tailwindcss(),
|
|
],
|
|
resolve: {
|
|
alias: {
|
|
"@": fileURLToPath(new URL("./src", import.meta.url)),
|
|
},
|
|
},
|
|
server: {
|
|
host: "0.0.0.0",
|
|
proxy: {
|
|
"/api": "http://localhost:8080",
|
|
"/gitea": "http://localhost:3000",
|
|
"/radio": "http://localhost:8000",
|
|
"/searxng": "http://localhost:8080",
|
|
},
|
|
},
|
|
});
|