mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-16 11:25:25 +02:00
engram `cloud serve` only registers /health, /sync/* and /dashboard/*; Go's ServeMux answers "404 page not found" at the root path, which is indistinguishable from a Traefik router miss. The deploy itself was fine (both containers healthy), but the default domain pointed at `/` and kept returning 404. Adding `path = "/dashboard"` routes the app's real browser surface (login page / dashboard). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
21 lines
413 B
TOML
21 lines
413 B
TOML
[variables]
|
|
main_domain = "${domain}"
|
|
jwt_secret = "${password:64}"
|
|
cloud_token = "${password:48}"
|
|
admin_token = "${password:48}"
|
|
|
|
[config]
|
|
env = [
|
|
"ENGRAM_JWT_SECRET=${jwt_secret}",
|
|
"ENGRAM_CLOUD_TOKEN=${cloud_token}",
|
|
"ENGRAM_CLOUD_ADMIN=${admin_token}",
|
|
"ENGRAM_CLOUD_ALLOWED_PROJECTS=*",
|
|
]
|
|
mounts = []
|
|
|
|
[[config.domains]]
|
|
serviceName = "engram"
|
|
port = 8080
|
|
host = "${main_domain}"
|
|
path = "/dashboard"
|