This commit is contained in:
2026-05-28 11:32:18 +02:00
parent 69e186a7f1
commit dad1a4af30
14 changed files with 9858 additions and 4410 deletions
+6 -6
View File
@@ -26,12 +26,12 @@ export default defineConfig({
},
server: {
host: '0.0.0.0',
port: 90,
port: 80,
strictPort: true,
allowedHosts: ['mygta-dev.ensup-adm.net', 'localhost'],
allowedHosts: ['mygta.ensup-adm.net', 'localhost'],
proxy: {
'/api': {
target: 'http://backend:3004',
target: 'http://backend:3000',
changeOrigin: true,
secure: false,
configure: (proxy, options) => {
@@ -39,7 +39,7 @@ export default defineConfig({
console.log('Proxy error:', err);
});
proxy.on('proxyReq', (proxyReq, req, res) => {
console.log('Proxying:', req.method, req.url, '-> http://backend:3004');
console.log('Proxying:', req.method, req.url, '-> http://backend:3000');
});
}
}
@@ -48,6 +48,6 @@ export default defineConfig({
});
VITECONFIG
EXPOSE 90
EXPOSE 80
CMD ["npx", "vite", "--host", "0.0.0.0", "--port", "90"]
CMD ["npx", "vite", "--host", "0.0.0.0", "--port", "80"]