# Devwebs web app (Next.js standalone build). Build with API_URL=http://127.0.0.1:4000 and PUBLIC_URL set, # then copy .next/static and public into .next/standalone (see docs/DEPLOYMENT.md). [Unit] Description=Devwebs web app After=network-online.target devwebs-api.service [Service] Type=simple User=devwebs Group=devwebs WorkingDirectory=/opt/devwebs/frontend/.next/standalone Environment=NODE_ENV=production PORT=3000 HOSTNAME=127.0.0.1 NEXT_TELEMETRY_DISABLED=1 ExecStart=/usr/bin/node server.js Restart=always RestartSec=3 NoNewPrivileges=true ProtectSystem=strict ProtectHome=true PrivateTmp=true [Install] WantedBy=multi-user.target