From 451e6b364698472efae1ebcec1efed924fd5311e Mon Sep 17 00:00:00 2001 From: Theis Gaedigk Date: Sun, 23 Nov 2025 20:11:36 +0100 Subject: [PATCH] published v2 --- FrontendV2/vite.config.ts | 15 ++++++++------- admin/vite.config.ts | 10 +++++++--- backendV2/info.json | 6 +++--- docker-compose.yml | 24 ++++++++++++------------ 4 files changed, 30 insertions(+), 25 deletions(-) diff --git a/FrontendV2/vite.config.ts b/FrontendV2/vite.config.ts index f42cbaa..b7bd95c 100644 --- a/FrontendV2/vite.config.ts +++ b/FrontendV2/vite.config.ts @@ -1,16 +1,17 @@ import { defineConfig } from "vite"; -import react from "@vitejs/plugin-react"; -import svgr from "vite-plugin-svgr"; import tailwindcss from "@tailwindcss/vite"; -import tsconfigPaths from "vite-tsconfig-paths"; export default defineConfig({ - plugins: [react(), svgr(), tailwindcss(), tsconfigPaths()], + plugins: [tailwindcss()], server: { host: "0.0.0.0", - port: 8001, - watch: { - usePolling: true, + allowedHosts: ["insta.the1s.de"], + port: 8101, + watch: { usePolling: true }, + hmr: { + host: "insta.the1s.de", + port: 8101, + protocol: "wss", }, }, }); diff --git a/admin/vite.config.ts b/admin/vite.config.ts index 0cd0f97..aa52583 100644 --- a/admin/vite.config.ts +++ b/admin/vite.config.ts @@ -8,9 +8,13 @@ export default defineConfig({ plugins: [react(), svgr(), tailwindcss(), tsconfigPaths()], server: { host: "0.0.0.0", - port: 8003, - watch: { - usePolling: true, + allowedHosts: ["admin.insta.the1s.de"], + port: 8103, + watch: { usePolling: true }, + hmr: { + host: "admin.insta.the1s.de", + port: 8103, + protocol: "wss", }, }, }); diff --git a/backendV2/info.json b/backendV2/info.json index 331fa29..e267475 100644 --- a/backendV2/info.json +++ b/backendV2/info.json @@ -1,11 +1,11 @@ { "backend-info": { - "version": "v2.0 (dev)" + "version": "v2.0" }, "frontend-info": { - "version": "v2.0 (dev)" + "version": "v2.0" }, "admin-panel-info": { - "version": "v1.2 (dev)" + "version": "v1.2" } } \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index c20ef03..85be801 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,17 +1,17 @@ services: - # usr-frontend_v2: - # container_name: borrow_system-usr-frontend - # build: ./FrontendV2 - # ports: - # - "8001:80" - # restart: unless-stopped + usr-frontend_v2: + container_name: borrow_system-usr-frontend + build: ./FrontendV2 + ports: + - "8101:80" + restart: unless-stopped - # admin-frontend: - # container_name: borrow_system-admin-frontend - # build: ./admin - # ports: - # - "8003:80" - # restart: unless-stopped + dmin-frontend: + container_name: borrow_system-admin-frontend + build: ./admin + ports: + - "8103:80" + restart: unless-stopped #backend: # container_name: borrow_system-backend