Add a verified exact-commit deployment pipeline
Some checks failed
Validate Sokko G / validate (push) Failing after 6m43s

This commit is contained in:
Shinuwa 2026-10-23 17:33:10 +02:00
parent ca39b76282
commit daef542474
10 changed files with 525 additions and 24 deletions

View file

@ -0,0 +1,17 @@
# Rôle : exécute le serveur de production Sokko G avec la version Node fixée par le projet.
[Unit]
Description=Sokko G WebApp
After=network.target
[Service]
Type=simple
User=shinuwa
WorkingDirectory=/data/webapps/sites/sokko-g
Environment=NODE_ENV=production
Environment=PATH=/home/shinuwa/.nvm/versions/node/v24.11.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ExecStart=/home/shinuwa/.nvm/versions/node/v24.11.1/bin/npm start
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target