feat: Umami/ntfy 可观测性栈与 WordPress AdSense 部署
This commit is contained in:
17
deploy/router/nomadro-router.service
Normal file
17
deploy/router/nomadro-router.service
Normal file
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=Nomadro audience router (zh→Next, en→WordPress)
|
||||
After=network.target docker.service nomadro.service
|
||||
Wants=nomadro.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/var/www/nomadro-router
|
||||
Environment=PORT=4403
|
||||
Environment=NEXT_UPSTREAM=http://127.0.0.1:4003
|
||||
Environment=WP_UPSTREAM=http://127.0.0.1:8088
|
||||
ExecStart=/usr/bin/node /var/www/nomadro-router/server.mjs
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user