refactor: change ports to non-standard (backend: 8765, frontend: 4321)

This commit is contained in:
TheRaiwy
2026-06-01 13:35:58 +03:00
parent e11df2ff92
commit df81f7abcc
6 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -9,5 +9,5 @@ RUN npm run build
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 3000
EXPOSE 4321
CMD ["nginx", "-g", "daemon off;"]
+2 -2
View File
@@ -1,9 +1,9 @@
server {
listen 3000;
listen 4321;
server_name _;
resolver 127.0.0.11 valid=10s;
set $backend_url http://backend:8000;
set $backend_url http://backend:8765;
root /usr/share/nginx/html;
index index.html;
+2 -2
View File
@@ -5,9 +5,9 @@ export default defineConfig({
plugins: [react()],
server: {
host: true,
port: 3000,
port: 4321,
proxy: {
'/api': 'http://backend:8000',
'/api': 'http://backend:8765',
},
},
})