mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 16:56:33 +00:00
Bind native backend services and Node-RED to loopback so Angie remains the public auth boundary. Keep Docker on an internal compose network and stop kiosk fallback to a layout when display default is none.
27 lines
671 B
Desktop File
27 lines
671 B
Desktop File
[Unit]
|
|
Description=BetterFrame Node-RED
|
|
Documentation=https://github.com/BetterCorp/BetterFrame
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=betterframe
|
|
Group=betterframe
|
|
WorkingDirectory=/var/lib/betterframe/nodered
|
|
Environment=NODE_ENV=production
|
|
Environment=PORT=1880
|
|
ExecStart=/usr/bin/env node-red --userDir /var/lib/betterframe/nodered --settings /opt/betterframe/deploy/nodered/settings.js
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
NoNewPrivileges=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
PrivateTmp=true
|
|
ReadWritePaths=/var/lib/betterframe/nodered
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|