fix(kan,puter): use .env + source for build env vars, fix Puter unreachable via IP

- kan: write .env before build, source it + export for build-time validation
  instead of inline exports (cleaner, consistent with codebase pattern)
- puter: set domain to container IP + experimental_no_subdomain so Puter
  accepts Host header when accessed via raw IP (default puter.localhost
  rejects all non-matching hosts)
This commit is contained in:
MickLesk
2026-04-05 18:32:49 +02:00
parent 363df9ddac
commit 77e1490b7c
2 changed files with 18 additions and 18 deletions

View File

@@ -40,7 +40,9 @@ msg_info "Configuring Application"
cat <<EOF >/etc/puter/config.json
{
"config_name": "proxmox",
"allow_nipio_domains": true
"domain": "${LOCAL_IP}",
"http_port": 4100,
"experimental_no_subdomain": true
}
EOF
msg_ok "Configured Application"