[Unit]
Description=Plaza Next.js (plaza.tkmind.cn)
After=network.target goose-h5.service
Wants=goose-h5.service

[Service]
Type=simple
User=root
WorkingDirectory=/root/plaza/web
EnvironmentFile=-/root/plaza/web/.env
Environment=NODE_ENV=production
Environment=PORT=3002
Environment=PLAZA_API_PROXY=http://127.0.0.1:8080
Environment=PLAZA_API_BASE=http://127.0.0.1:8080
ExecStart=/usr/bin/node node_modules/next/dist/bin/next start -p 3002
Restart=on-failure
RestartSec=5

[Install]
WantedBy=multi-user.target
