2 Commits

Author SHA1 Message Date
IGNY8 VPS (Salman)
4f8d79ca3f commit 2025-11-13 16:49:51 +00:00
IGNY8 VPS (Salman)
e6a926f803 arch level changes 2025-11-13 16:32:08 +00:00
4 changed files with 25 additions and 22 deletions

View File

@@ -21,6 +21,8 @@ ALLOWED_HOSTS = [
'*', # Allow all hosts for flexibility
'api.igny8.com',
'app.igny8.com',
'igny8.com',
'www.igny8.com',
'31.97.144.105',
'localhost',
'127.0.0.1',
@@ -207,9 +209,13 @@ REST_FRAMEWORK = {
# CORS Configuration
CORS_ALLOWED_ORIGINS = [
"https://app.igny8.com",
"https://igny8.com",
"https://www.igny8.com",
"http://localhost:5173",
"http://localhost:5174",
"http://localhost:3000",
"http://127.0.0.1:5173",
"http://127.0.0.1:5174",
]
CORS_ALLOW_CREDENTIALS = True

View File

@@ -90,7 +90,7 @@ services:
container_name: igny8_marketing
restart: always
ports:
- "0.0.0.0:8022:8020" # Marketing site port (internal: 8020, external: 8022)
- "0.0.0.0:8022:5174" # Marketing site port (internal: 5174, external: 8022)
networks: [igny8_net]
labels:
- "com.docker.compose.project=igny8-app"

View File

@@ -7,91 +7,91 @@
"clsx": {
"src": "../../clsx/dist/clsx.mjs",
"file": "clsx.js",
"fileHash": "335e755e",
"fileHash": "ffd99fc3",
"needsInterop": false
},
"tailwind-merge": {
"src": "../../tailwind-merge/dist/bundle-mjs.mjs",
"file": "tailwind-merge.js",
"fileHash": "ba411a67",
"fileHash": "5ec42e8a",
"needsInterop": false
},
"zustand": {
"src": "../../zustand/esm/index.mjs",
"file": "zustand.js",
"fileHash": "01c7a42f",
"fileHash": "35b5babc",
"needsInterop": false
},
"apexcharts": {
"src": "../../apexcharts/dist/apexcharts.esm.js",
"file": "apexcharts.js",
"fileHash": "95f9f7ed",
"fileHash": "afaf2600",
"needsInterop": false
},
"react-apexcharts": {
"src": "../../react-apexcharts/dist/react-apexcharts.min.js",
"file": "react-apexcharts.js",
"fileHash": "c6ad3fcf",
"fileHash": "5ebc900f",
"needsInterop": true
},
"react": {
"src": "../../react/index.js",
"file": "react.js",
"fileHash": "552f8751",
"fileHash": "3ec4beaf",
"needsInterop": true
},
"react-dom": {
"src": "../../react-dom/index.js",
"file": "react-dom.js",
"fileHash": "51ab02f8",
"fileHash": "776f11f1",
"needsInterop": true
},
"react/jsx-dev-runtime": {
"src": "../../react/jsx-dev-runtime.js",
"file": "react_jsx-dev-runtime.js",
"fileHash": "3eac29f9",
"fileHash": "a5c138f1",
"needsInterop": true
},
"react/jsx-runtime": {
"src": "../../react/jsx-runtime.js",
"file": "react_jsx-runtime.js",
"fileHash": "f475eb11",
"fileHash": "c6302565",
"needsInterop": true
},
"@heroicons/react/24/outline": {
"src": "../../@heroicons/react/24/outline/esm/index.js",
"file": "@heroicons_react_24_outline.js",
"fileHash": "1384c9cc",
"fileHash": "1320aeb7",
"needsInterop": false
},
"react-dom/client": {
"src": "../../react-dom/client.js",
"file": "react-dom_client.js",
"fileHash": "7f1e08f7",
"fileHash": "ae13241b",
"needsInterop": true
},
"react-helmet-async": {
"src": "../../react-helmet-async/lib/index.esm.js",
"file": "react-helmet-async.js",
"fileHash": "dbe6d36e",
"fileHash": "8c92a496",
"needsInterop": false
},
"react-router": {
"src": "../../react-router/dist/development/index.mjs",
"file": "react-router.js",
"fileHash": "87eba0c4",
"fileHash": "66b9f22f",
"needsInterop": false
},
"react-router-dom": {
"src": "../../react-router-dom/dist/index.mjs",
"file": "react-router-dom.js",
"fileHash": "719445bb",
"fileHash": "65d35ce1",
"needsInterop": false
},
"zustand/middleware": {
"src": "../../zustand/esm/middleware.mjs",
"file": "zustand_middleware.js",
"fileHash": "4c1c6b84",
"fileHash": "ac0e4976",
"needsInterop": false
}
},

View File

@@ -85,12 +85,9 @@ export default defineConfig(({ mode }) => {
host: "0.0.0.0", // Allow external connections (for Docker)
port: isMarketingBuild ? 5174 : 5173, // Different port for marketing dev
strictPort: false, // Allow port fallback if port is busy
allowedHosts: [
"app.igny8.com",
"igny8.com",
"localhost",
"127.0.0.1",
],
// Disable host check for development (behind reverse proxy)
// This allows any host to connect when behind Caddy
allowedHosts: true,
watch: {
usePolling: true, // Needed for file watching in Docker
},