chore: add ansible backend docker frontend-prep

This commit is contained in:
2026-01-21 13:05:13 +01:00
parent 5a280b6b01
commit 943fe4de7d
14930 changed files with 2341433 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
[Unit]
Description=Frontend React Production (Vite)
After=network.target
[Service]
User={{ user_owner }}
Group={{ user_owner }}
WorkingDirectory={{ nginx_frontend_path }}
ExecStart=/usr/bin/npm run preview -- --port {{ frontend_port }}
Restart=always
Environment=NODE_ENV=production
[Install]
WantedBy=multi-user.target