mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 00:27:41 +01:00
fixes from review
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
"service": "romm-dev",
|
||||
"workspaceFolder": "/app",
|
||||
"shutdownAction": "stopCompose",
|
||||
"forwardPorts": [443, 3000, 3306, 5000, 6379],
|
||||
"forwardPorts": [8443, 3000, 3306, 5000, 6379],
|
||||
"portsAttributes": {
|
||||
"443": {
|
||||
"8443": {
|
||||
"label": "HTTPS Dev Server",
|
||||
"onAutoForward": "notify"
|
||||
},
|
||||
|
||||
@@ -13,7 +13,7 @@ services:
|
||||
- ROMM_BASE_PATH=/app/romm
|
||||
ports:
|
||||
- "3000:3000" # Frontend dev server
|
||||
- "443:443" # HTTPS dev server
|
||||
- "8443:8443" # HTTPS dev server
|
||||
- "${DEV_PORT:-5000}:5000" # Backend API
|
||||
volumes:
|
||||
- ./backend:/app/backend
|
||||
|
||||
@@ -80,7 +80,7 @@ export default defineConfig(({ mode }) => {
|
||||
rewrite: (path) => path.replace(/^\/openapi.json/, "/openapi.json"),
|
||||
},
|
||||
},
|
||||
port: env.DEV_HTTPS ? 443 : 3000,
|
||||
port: env.DEV_HTTPS ? 8443 : 3000,
|
||||
allowedHosts: ["localhost", "127.0.0.1", "romm.dev"],
|
||||
...(env.DEV_HTTPS
|
||||
? {
|
||||
|
||||
Reference in New Issue
Block a user