close to final version added the subtaskand comment working section
This commit is contained in:
34
spin.toml
Normal file
34
spin.toml
Normal file
@@ -0,0 +1,34 @@
|
||||
spin_manifest_version = 2
|
||||
|
||||
[application]
|
||||
name = "scrum-manager"
|
||||
version = "1.0.0"
|
||||
authors = ["Antigravity <antigravity@example.com>"]
|
||||
description = "Scrum Manager application running on Fermyon Spin"
|
||||
|
||||
[[trigger.http]]
|
||||
route = "/api/..."
|
||||
component = "scrum-manager-api"
|
||||
|
||||
[[trigger.http]]
|
||||
route = "/..."
|
||||
component = "scrum-manager-ui"
|
||||
|
||||
[component.scrum-manager-api]
|
||||
source = "server/dist/main.wasm"
|
||||
allowed_outbound_hosts = ["mysql://localhost:3306", "https://*:*"]
|
||||
[component.scrum-manager-api.build]
|
||||
command = "npm run build:spin"
|
||||
workdir = "server"
|
||||
[component.scrum-manager-api.variables]
|
||||
db_host = "localhost"
|
||||
db_port = "3306"
|
||||
db_user = "root"
|
||||
db_password = "scrumpass"
|
||||
db_name = "scrum_manager"
|
||||
|
||||
[component.scrum-manager-ui]
|
||||
source = { url = "https://github.com/fermyon/spin-fileserver/releases/download/v0.1.0/spin_static_fs.wasm", digest = "sha256:96c76d9af86420b39eb6cd7be5550e3cb5d4cc4de572ce0fd1f6a29471536cb4" }
|
||||
files = [{ source = "dist", destination = "/" }]
|
||||
[component.scrum-manager-ui.build]
|
||||
command = "npm run build"
|
||||
Reference in New Issue
Block a user