mirror of
https://github.com/rommapp/romm.git
synced 2026-02-18 00:27:41 +01:00
fix devcontainer port declarations
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
"service": "romm-dev",
|
||||
"workspaceFolder": "/app",
|
||||
"shutdownAction": "stopCompose",
|
||||
"forwardPorts": [8000, 3000, 3306, 6379],
|
||||
"forwardPorts": [5000, 3000, 3306, 6379],
|
||||
"portsAttributes": {
|
||||
"8000": {
|
||||
"5000": {
|
||||
"label": "Backend API",
|
||||
"onAutoForward": "notify"
|
||||
},
|
||||
|
||||
@@ -22,32 +22,32 @@ SORT_COMPARE_REGEX = re.compile(r"^([Tt]he|[Aa]|[Aa]nd)\s")
|
||||
|
||||
RomIGDBMetadata = TypedDict( # type: ignore[misc]
|
||||
"RomIGDBMetadata",
|
||||
{k: NotRequired[v] for k, v in get_type_hints(IGDBMetadata).items()},
|
||||
{k: NotRequired[v] for k, v in get_type_hints(IGDBMetadata).items()}, # type: ignore[misc]
|
||||
total=False,
|
||||
)
|
||||
RomMobyMetadata = TypedDict( # type: ignore[misc]
|
||||
"RomMobyMetadata",
|
||||
{k: NotRequired[v] for k, v in get_type_hints(MobyMetadata).items()},
|
||||
{k: NotRequired[v] for k, v in get_type_hints(MobyMetadata).items()}, # type: ignore[misc]
|
||||
total=False,
|
||||
)
|
||||
RomSSMetadata = TypedDict( # type: ignore[misc]
|
||||
"RomSSMetadata",
|
||||
{k: NotRequired[v] for k, v in get_type_hints(SSMetadata).items()},
|
||||
{k: NotRequired[v] for k, v in get_type_hints(SSMetadata).items()}, # type: ignore[misc]
|
||||
total=False,
|
||||
)
|
||||
RomRAMetadata = TypedDict( # type: ignore[misc]
|
||||
"RomRAMetadata",
|
||||
{k: NotRequired[v] for k, v in get_type_hints(RAMetadata).items()},
|
||||
{k: NotRequired[v] for k, v in get_type_hints(RAMetadata).items()}, # type: ignore[misc]
|
||||
total=False,
|
||||
)
|
||||
RomLaunchboxMetadata = TypedDict( # type: ignore[misc]
|
||||
"RomLaunchboxMetadata",
|
||||
{k: NotRequired[v] for k, v in get_type_hints(LaunchboxMetadata).items()},
|
||||
{k: NotRequired[v] for k, v in get_type_hints(LaunchboxMetadata).items()}, # type: ignore[misc]
|
||||
total=False,
|
||||
)
|
||||
RomHasheousMetadata = TypedDict( # type: ignore[misc]
|
||||
"RomHasheousMetadata",
|
||||
{k: NotRequired[v] for k, v in get_type_hints(HasheousMetadata).items()},
|
||||
{k: NotRequired[v] for k, v in get_type_hints(HasheousMetadata).items()}, # type: ignore[misc]
|
||||
total=False,
|
||||
)
|
||||
|
||||
|
||||
@@ -12,8 +12,8 @@ services:
|
||||
- DB_HOST=romm-db-dev
|
||||
- ROMM_BASE_PATH=/app/romm
|
||||
ports:
|
||||
- "8000:8000" # Backend API
|
||||
- "3000:3000" # Frontend dev server
|
||||
- "${DEV_PORT:-5000}:5000" # Backend API
|
||||
volumes:
|
||||
- ./backend:/app/backend
|
||||
- /app/backend/romm_mock # Empty directory
|
||||
|
||||
Reference in New Issue
Block a user