This commit is contained in:
dv 2026-04-07 11:21:29 -04:00
parent b6028cf8e2
commit 31f54c49ad
3 changed files with 14 additions and 3 deletions

View file

@ -4,6 +4,11 @@ from .object import Object, object_tags
from .tag import Tag from .tag import Tag
from .task import Task, TaskEvent, TaskResult from .task import Task, TaskEvent, TaskResult
from .user import User, UserSession from .user import User, UserSession
from .rack import Rack
from .zone import Zone
from .snapshot import ConfigSnapshot, SnapshotContent
from .alert import Alert
from .plugin import Plugin
__all__ = [ __all__ = [
"Base", "Base",
@ -17,4 +22,10 @@ __all__ = [
"Task", "Task",
"TaskEvent", "TaskEvent",
"TaskResult", "TaskResult",
"Rack",
"Zone",
"ConfigSnapshot",
"SnapShotContent",
"Alert",
"Plugin",
] ]

View file

@ -31,7 +31,7 @@ services:
condition: service_healthy condition: service_healthy
volumes: volumes:
- ../backend:/app - ../backend:/app
command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload command: uvicorn app.main:app --host 0.0.0.0 --port 8005 --reload
frontend: frontend:
build: build:

View file

@ -5,10 +5,10 @@ export default defineConfig({
plugins: [react()], plugins: [react()],
server: { server: {
host: true, host: true,
port: 3000, port: 3005,
proxy: { proxy: {
'/api': { '/api': {
target: 'http://backend:8000', target: 'http://backend:8005',
changeOrigin: true, changeOrigin: true,
}, },
}, },