Some checks failed
CI / Frontend Lint & Type Check (push) Has been cancelled
CI / Frontend Build (push) Has been cancelled
CI / Backend Lint (push) Has been cancelled
CI / Backend Tests (push) Has been cancelled
CI / Docker Build (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
Deploy / Build & Push Images (push) Has been cancelled
Deploy / Deploy to Server (push) Has been cancelled
Deploy / Notify (push) Has been cancelled
28 lines
594 B
Desktop File
28 lines
594 B
Desktop File
[Unit]
|
|
Description=Pounce Frontend (Next.js Standalone)
|
|
After=network.target pounce-backend.service
|
|
Wants=pounce-backend.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=user
|
|
Group=user
|
|
WorkingDirectory=/home/user/pounce/frontend
|
|
Environment="NODE_ENV=production"
|
|
Environment="HOSTNAME=0.0.0.0"
|
|
Environment="PORT=3000"
|
|
Environment="BACKEND_URL=http://127.0.0.1:8000"
|
|
ExecStart=/usr/bin/node /home/user/pounce/frontend/.next/standalone/server.js
|
|
Restart=always
|
|
RestartSec=5
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
# Hardening
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|