5
This commit is contained in:
parent
b6028cf8e2
commit
31f54c49ad
3 changed files with 14 additions and 3 deletions
|
|
@ -4,6 +4,11 @@ from .object import Object, object_tags
|
|||
from .tag import Tag
|
||||
from .task import Task, TaskEvent, TaskResult
|
||||
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__ = [
|
||||
"Base",
|
||||
|
|
@ -17,4 +22,10 @@ __all__ = [
|
|||
"Task",
|
||||
"TaskEvent",
|
||||
"TaskResult",
|
||||
"Rack",
|
||||
"Zone",
|
||||
"ConfigSnapshot",
|
||||
"SnapShotContent",
|
||||
"Alert",
|
||||
"Plugin",
|
||||
]
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ services:
|
|||
condition: service_healthy
|
||||
volumes:
|
||||
- ../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:
|
||||
build:
|
||||
|
|
|
|||
|
|
@ -5,10 +5,10 @@ export default defineConfig({
|
|||
plugins: [react()],
|
||||
server: {
|
||||
host: true,
|
||||
port: 3000,
|
||||
port: 3005,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://backend:8000',
|
||||
target: 'http://backend:8005',
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue