feat(infra): add hamc.asepharyana.my.id (hermyhq) Caddy routing + systemd unit
Deploy Infra Config / deploy-infra (push) Canceled after 0s

- Caddy: hamc.asepharyana.my.id -> 127.0.0.1:4023 (import proxy)
- systemd: hermyhq.service (Next.js 16 standalone, profile /nix/var/nix/profiles/hermyhq, env /etc/hermyhq/hermyhq.env)
This commit is contained in:
MythEclipse
2026-09-20 15:51:34 +07:00
parent bda852f287
commit 9e6078af9b
2 changed files with 22 additions and 1 deletions
+4 -1
View File
@@ -175,4 +175,7 @@ mcpedia.asepharyana.my.id {
mcp.asepharyana.my.id {
import proxy 4021
}
}
hamc.asepharyana.my.id {
import proxy 4023
}
}
+18
View File
@@ -0,0 +1,18 @@
[Unit]
Description=Hermy HQ — Hermes mission control dashboard (Next.js 16 standalone)
After=network.target postgresql.service
[Service]
Type=simple
User=code
Group=code
Environment=NODE_ENV=production
Environment=HOSTNAME=127.0.0.1
Environment=PORT=4023
EnvironmentFile=/etc/hermyhq/hermyhq.env
ExecStart=/nix/var/nix/profiles/hermyhq/bin/hermyhq
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target