From 3f9381a80ca8f76e6e6e3f80ac532bc12b37570b Mon Sep 17 00:00:00 2001 From: Theis Gaedigk Date: Tue, 2 Sep 2025 20:37:32 +0200 Subject: [PATCH] changed docker and ports --- admin/vite.config.ts | 10 +++++++--- docker-compose.yml | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) 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/docker-compose.yml b/docker-compose.yml index 48e7a16..d12f0e1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,7 +18,7 @@ services: container_name: admin-frontend build: ./admin ports: - - "8003:8003" + - "8103:8103" environment: - CHOKIDAR_USEPOLLING=true volumes: