MCPcopy Create free account
hub / github.com/codename-co/stack / init_stacks

Function init_stacks

packages/app/src-tauri/src/lib.rs:67–71  ·  view source on GitHub ↗
(app: &AppHandle)

Source from the content-addressed store, hash-verified

65// Ok(())
66// }
67// }
68
69fn init_stacks(app: &AppHandle) {
70 // The reverse proxy in the bootstrap stack serves every `*.stack.localhost`
71 // host, so its certificate has to exist — and be mountable — before the
72 // stack comes up. `STACK_CERTS_DIR` is how the compose file finds it;
73 // `get_docker_env_vars` forwards every `STACK_*` variable to docker.
74 match tls::ensure_proxy(app) {

Callers 1

runFunction · 0.85

Calls 1

load_stacksFunction · 0.85

Tested by

no test coverage detected