mirror of
https://github.com/geoffsee/predict-otron-9001.git
synced 2025-09-08 22:46:44 +00:00
predict-otron-9000 serves a leptos SSR frontend
This commit is contained in:
@@ -12,14 +12,14 @@ path = "src/main.rs"
|
||||
axum = "0.8.4"
|
||||
tokio = { version = "1.45.1", features = ["full"] }
|
||||
tower = "0.5.2"
|
||||
tower-http = { version = "0.6.6", features = ["trace", "cors"] }
|
||||
tower-http = { version = "0.6.6", features = ["trace", "cors", "fs"] }
|
||||
serde = { version = "1.0.219", features = ["derive"] }
|
||||
serde_json = "1.0.140"
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
||||
uuid = { version = "1.7.0", features = ["v4"] }
|
||||
reqwest = { version = "0.12", features = ["json"] }
|
||||
rust-embed = "8.7.2"
|
||||
rust-embed = { version = "8.7.2", features = ["include-exclude"] }
|
||||
|
||||
# Dependencies for embeddings functionality
|
||||
embeddings-engine = { path = "../embeddings-engine" }
|
||||
@@ -27,6 +27,11 @@ embeddings-engine = { path = "../embeddings-engine" }
|
||||
# Dependencies for inference functionality
|
||||
inference-engine = { path = "../inference-engine" }
|
||||
|
||||
# Dependencies for leptos web app
|
||||
leptos-app = { path = "../leptos-app", features = ["ssr"] }
|
||||
|
||||
mime_guess = "2.0.5"
|
||||
|
||||
# generates docker compose configuration
|
||||
[package.metadata.compose]
|
||||
name = "predict-otron-9000"
|
||||
@@ -39,4 +44,4 @@ port = 8080
|
||||
image = "ghcr.io/geoffsee/predict-otron-9000:latest"
|
||||
replicas = 1
|
||||
port = 8080
|
||||
env = { SERVER_CONFIG = "" }
|
||||
env = { SERVER_CONFIG = "" }
|
||||
|
Reference in New Issue
Block a user