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 committed 2026-09-20 15:51:34 +07:00
1 parent bda852f287
commit 9e6078af9b
2 files changed
+21

No files matched your search

+3
View File
@@ -176,3 +176,6 @@ mcpedia.asepharyana.my.id {
mcp.asepharyana.my.id { mcp.asepharyana.my.id {
import proxy 4021 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